Fix missing return value in grabArticle

Not sure if this is expected but at least it works the same as before.
pull/87/head
Jan Tojnar 2 years ago
parent 6f6cff092d
commit dfa7cb08cd
  1. 2
      src/Readability.php

@ -1039,7 +1039,7 @@ class Readability implements LoggerAwareInterface
foreach ($ancestors as $level => $ancestor) {
if (!$ancestor->nodeName || !$ancestor->parentNode) {
return;
return false;
}
if (!$ancestor->hasAttribute('readability')) {

Loading…
Cancel
Save