Fixed LibXML errors are not suppressed
This commit is contained in:
parent
b5377c04c5
commit
c3eba31d40
@ -16,7 +16,7 @@ abstract class Microdata
|
||||
public static function fromHTMLFile($filename, $documentURI = '')
|
||||
{
|
||||
$dom = new MicrodataDOMDocument;
|
||||
$dom->loadHTMLFile($filename);
|
||||
$dom->loadHTMLFile($filename, LIBXML_NOERROR);
|
||||
$dom->documentURI = $documentURI;
|
||||
|
||||
return new MicrodataParser($dom);
|
||||
|
Loading…
Reference in New Issue
Block a user