summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-11-05 22:38:11 +0000
committerAndres Rey <[email protected]>2018-11-05 22:38:11 +0000
commitfefc47e42565518aaa981be97fd65373fbbbe73a (patch)
tree152a437bf4c453923adcca48c4828740c3e891c1
parent9e7ed7f7ade49317910076f041982a13eabab209 (diff)
Fix phrasing content checking mistake
-rw-r--r--src/Readability.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Readability.php b/src/Readability.php
index ff07c11..a4eeecd 100644
--- a/src/Readability.php
+++ b/src/Readability.php
@@ -865,7 +865,7 @@ class Readability
}
}
- if ($next->isPhrasingContent()) {
+ if (!$next->isPhrasingContent()) {
break;
}