mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 17:41:01 +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
|
@ -1142,9 +1142,9 @@ class Readability
|
|||
*/
|
||||
protected function reinitBody() {
|
||||
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