Skip to content

Commit 7f12f31

Browse files
authored
Fixed bug #2
1 parent 23f3782 commit 7f12f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AdvancedHtmlDom/AdvancedHtmlDom.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function load($html, $is_xml = false)
7272
$html = \preg_replace('/xmlns=".*?"/ ', '', $html);
7373
}
7474

75-
$this->dom->loadHTML($html,LIBXML_NOWARNING | LIBXML_NOERROR);
75+
$this->dom->loadHTML($html, LIBXML_NOERROR);
7676
$this->xpath = new \DOMXPath($this->dom);
7777
//$this->root = new AHTMLNode($this->dom->documentElement, $this->doc);
7878
$this->root = $this->at('body');

0 commit comments

Comments
 (0)