diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-07-09 16:56:52 +0300 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-07-09 16:56:52 +0300 |
commit | c1aad6d5746ddb079e3b60d432212021c42c963b (patch) | |
tree | 2889335e276ef73699a8e2895ca13f7d357c3b54 /inc/3rdparty | |
parent | cc1ec61b857cc793abab719c164496e8290291c1 (diff) | |
download | wallabag-c1aad6d5746ddb079e3b60d432212021c42c963b.tar.gz wallabag-c1aad6d5746ddb079e3b60d432212021c42c963b.tar.zst wallabag-c1aad6d5746ddb079e3b60d432212021c42c963b.zip |
fix of issue #619 and other similar, error in JSLikeHTMLElement: node no longer exists.
Diffstat (limited to 'inc/3rdparty')
-rwxr-xr-x | inc/3rdparty/libraries/readability/Readability.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/3rdparty/libraries/readability/Readability.php b/inc/3rdparty/libraries/readability/Readability.php index 9e77dc55..4fa3ba63 100755 --- a/inc/3rdparty/libraries/readability/Readability.php +++ b/inc/3rdparty/libraries/readability/Readability.php | |||
@@ -1142,9 +1142,9 @@ class Readability | |||
1142 | */ | 1142 | */ |
1143 | protected function reinitBody() { | 1143 | protected function reinitBody() { |
1144 | if (!isset($this->body->childNodes)) { | 1144 | if (!isset($this->body->childNodes)) { |
1145 | $this->body = $this->dom->createElement('body'); | 1145 | $this->body = $this->dom->createElement('body'); |
1146 | $this->body->innerHTML = $this->bodyCache; | ||
1146 | } | 1147 | } |
1147 | $this->body->innerHTML = $this->bodyCache; | ||
1148 | } | 1148 | } |
1149 | 1149 | ||
1150 | } | 1150 | } |