mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-20 12:36:18 +00:00
fix of issue #619 and other similar, error in JSLikeHTMLElement: node no longer exists.
This commit is contained in:
parent
cc1ec61b85
commit
c1aad6d574
1 changed files with 2 additions and 2 deletions
|
@ -1143,8 +1143,8 @@ class Readability
|
||||||
protected function reinitBody() {
|
protected function reinitBody() {
|
||||||
if (!isset($this->body->childNodes)) {
|
if (!isset($this->body->childNodes)) {
|
||||||
$this->body = $this->dom->createElement('body');
|
$this->body = $this->dom->createElement('body');
|
||||||
|
$this->body->innerHTML = $this->bodyCache;
|
||||||
}
|
}
|
||||||
$this->body->innerHTML = $this->bodyCache;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue