mirror of
https://github.com/j0k3r/php-readability.git
synced 2026-09-26 22:16:12 +00:00
If a matching element isn't the first child (e.g. preceded by a whitespace text node), it may sit at a key other than 0 after some cleanup, leading to a "Undefined array key 0" error. This fix is now covered by 6 tests. Fixes #96 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>