diff options
Diffstat (limited to 'lib/simplehtmldom/simple_html_dom.php')
-rw-r--r-- | lib/simplehtmldom/simple_html_dom.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/simplehtmldom/simple_html_dom.php b/lib/simplehtmldom/simple_html_dom.php index 3fc95760..170f6fb0 100644 --- a/lib/simplehtmldom/simple_html_dom.php +++ b/lib/simplehtmldom/simple_html_dom.php @@ -118,11 +118,6 @@ function str_get_html( throw new \Exception('Refusing to parse too big input'); } - if (empty($str) || strlen($str) > MAX_FILE_SIZE) { - $dom->clear(); - return false; - } - return $dom->load($str, $lowercase, $stripRN); } |