Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Supress annoying libxml warnings

  • Loading branch information...
commit 7c3f5974eae139e3b1ae305bc6af6a898fe0f6b3 1 parent 64813e0
TJ Holowaychuk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  selector.inc
2  selector.inc
View
@@ -19,7 +19,7 @@ class SelectorDOM {
public function SelectorDOM($html) {
$this->html = $html;
$this->dom = new DOMDocument();
- $this->dom->loadHTML($html);
+ @$this->dom->loadHTML($html);
$this->xpath = new DOMXpath($this->dom);
}
Please sign in to comment.
Something went wrong with that request. Please try again.