summaryrefslogtreecommitdiff
path: root/src/Readability.php
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2016-11-11 16:45:07 +0000
committerAndres Rey <[email protected]>2016-11-11 16:45:07 +0000
commitb29cf1ed8879ed525edd7a09899519c71acfd3a2 (patch)
treefdead1b9b32a6551e67e32bc3348c232d22d5545 /src/Readability.php
parentf3e5a80fd81fb010e56d0bc7930921450aff1cdc (diff)
Fixed node comparison
Diffstat (limited to 'src/Readability.php')
-rw-r--r--src/Readability.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Readability.php b/src/Readability.php
index 03a40a0..d99ab29 100644
--- a/src/Readability.php
+++ b/src/Readability.php
@@ -383,7 +383,7 @@ class Readability extends Element implements ReadabilityInterface
return false;
}
- if ($node1->getTextContent() !== $node2->getTextContent()) {
+ if ($node1->getTextContent(true) !== $node2->getTextContent(true)) {
return false;
}