diff --git a/src/Checks/Content/TransitionWordRatioCheck.php b/src/Checks/Content/TransitionWordRatioCheck.php index da0c6caf..36c1c7dc 100644 --- a/src/Checks/Content/TransitionWordRatioCheck.php +++ b/src/Checks/Content/TransitionWordRatioCheck.php @@ -39,7 +39,7 @@ public function check(Response $response, Crawler $crawler): bool public function validateContent(Crawler $crawler): bool { - $content = $crawler->filter('body')->text(); + $content = $crawler->filterXPath('//body')->text(); $transitionWords = TransitionWords::getTransitionWordsOnly(config('seo.language'));