diff options
Diffstat (limited to 'src')
-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 aca5e21..e80c07b 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -859,7 +859,7 @@ class Readability if ($sibling->contentScore + $contentBonus >= $siblingScoreThreshold) { $append = true; } elseif ($sibling->tagNameEqualsTo('p')) { - $linkDensity = $siblings->getLinkDensity(); + $linkDensity = $sibling->getLinkDensity(); $nodeContent = $sibling->getTextContent(true); if (mb_strlen($nodeContent) > 80 && $linkDensity < 0.25) { |