diff options
author | Andres Rey <[email protected]> | 2018-03-18 20:37:45 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2018-03-18 20:37:45 +0000 |
commit | 094aba5d32f24aaafcc6769b31fca4b7166ae994 (patch) | |
tree | 29883797fc1edda70e75af5b3c2e71d6bc74747e /src/Readability.php | |
parent | 1a807237eab8251b4c964b1fe73a6e1720a650f0 (diff) | |
parent | 83d73c8c9bee58a8c35282904c5a0825eb59f997 (diff) |
Merge remote-tracking branch 'origin/development' into development
# Conflicts:
# CHANGELOG.md
# composer.json
Diffstat (limited to 'src/Readability.php')
-rw-r--r-- | src/Readability.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Readability.php b/src/Readability.php index 5d450ba..4123c55 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -1634,7 +1634,7 @@ class Readability */ public function getContent() { - return $this->content->C14N(); + return ($this->content instanceof DOMDocument) ? $this->content->C14N() : null; } /** |