diff --git a/src/PHPHtmlParser/Content.php b/src/PHPHtmlParser/Content.php index f1332175..0e1c4db2 100755 --- a/src/PHPHtmlParser/Content.php +++ b/src/PHPHtmlParser/Content.php @@ -97,7 +97,7 @@ public function fastForward(int $count): Content { if (!$this->canFastForward($count)) { // trying to go over the content length, throw exception - throw new ContentLengthException('Attempt to fastForward pass the length of the content.'); + //throw new ContentLengthException('Attempt to fastForward pass the length of the content.'); } $this->pos += $count; diff --git a/src/PHPHtmlParser/Dom/Cleaner.php b/src/PHPHtmlParser/Dom/Cleaner.php index 52e5728b..173adf84 100644 --- a/src/PHPHtmlParser/Dom/Cleaner.php +++ b/src/PHPHtmlParser/Dom/Cleaner.php @@ -74,7 +74,7 @@ public function clean(string $str, Options $options, string $defaultCharset): st // strip out