diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/HTMLParser.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/HTMLParser.php b/src/HTMLParser.php index 3226904..bc9aa9f 100644 --- a/src/HTMLParser.php +++ b/src/HTMLParser.php @@ -185,6 +185,10 @@ class HTMLParser if (!$parseSuccessful) { return false; } + + if (!$result) { + return false; + } $result = $this->postProcessContent($result); |