diff options
author | Andres Rey <[email protected]> | 2017-11-28 21:03:12 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2017-11-28 21:03:12 +0000 |
commit | dbc05528180d54a3cf36d728283daef47b841c59 (patch) | |
tree | f230f0d35cdbc18f38759dbf8dd380eee79fe651 /src/Readability.php | |
parent | 1c3309958978283a7868e81d99cc7381ac30ed94 (diff) |
Minor fix
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 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) { |