From fefc47e42565518aaa981be97fd65373fbbbe73a Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Mon, 5 Nov 2018 22:38:11 +0000 Subject: Fix phrasing content checking mistake --- src/Readability.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3