diff options
Diffstat (limited to 'src/Readability.php')
-rw-r--r-- | src/Readability.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Readability.php b/src/Readability.php index 53bc32d..4b1309c 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -937,7 +937,7 @@ class Readability foreach ($siblings as $sibling) { $append = false; - if ($sibling->compareNodes($sibling, $topCandidate)) { + if ($sibling === $topCandidate) { $append = true; } else { $contentBonus = 0; |