fix of issue #619 and other similar, error in JSLikeHTMLElement: node no longer exists.

This commit is contained in:
Maryana Rozhankivska 2014-07-09 16:56:52 +03:00
parent cc1ec61b85
commit c1aad6d574

View file

@ -1143,8 +1143,8 @@ class Readability
protected function reinitBody() {
if (!isset($this->body->childNodes)) {
$this->body = $this->dom->createElement('body');
$this->body->innerHTML = $this->bodyCache;
}
$this->body->innerHTML = $this->bodyCache;
}
}