diff options
author | Andres Rey <[email protected]> | 2016-11-11 16:45:07 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2016-11-11 16:45:07 +0000 |
commit | b29cf1ed8879ed525edd7a09899519c71acfd3a2 (patch) | |
tree | fdead1b9b32a6551e67e32bc3348c232d22d5545 /src/Readability.php | |
parent | f3e5a80fd81fb010e56d0bc7930921450aff1cdc (diff) |
Fixed node comparison
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 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; } |