We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f3782 commit 7f12f31Copy full SHA for 7f12f31
src/AdvancedHtmlDom/AdvancedHtmlDom.php
@@ -72,7 +72,7 @@ public function load($html, $is_xml = false)
72
$html = \preg_replace('/xmlns=".*?"/ ', '', $html);
73
}
74
75
- $this->dom->loadHTML($html,LIBXML_NOWARNING | LIBXML_NOERROR);
+ $this->dom->loadHTML($html, LIBXML_NOERROR);
76
$this->xpath = new \DOMXPath($this->dom);
77
//$this->root = new AHTMLNode($this->dom->documentElement, $this->doc);
78
$this->root = $this->at('body');
0 commit comments