aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-07-09 16:56:52 +0300
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-07-09 16:56:52 +0300
commitc1aad6d5746ddb079e3b60d432212021c42c963b (patch)
tree2889335e276ef73699a8e2895ca13f7d357c3b54 /inc
parentcc1ec61b857cc793abab719c164496e8290291c1 (diff)
downloadwallabag-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')
-rwxr-xr-xinc/3rdparty/libraries/readability/Readability.php4
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}