Skip to content

Commit

Permalink
Fixed HTML whitespace parsing quirk
Browse files Browse the repository at this point in the history
  • Loading branch information
jkphl committed Mar 4, 2017
1 parent 3a6ccc4 commit e7eea23
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -201,7 +201,7 @@ public function createDocumentFromSource($source)
{
$dom = new \DOMDocument();
libxml_use_internal_errors(true);
$dom->loadHTML($source, LIBXML_NOWARNING);
$dom->loadHTML($source);
$errors = libxml_get_errors();
libxml_use_internal_errors(false);
$this->processParsingErrors($errors);
Expand Down

0 comments on commit e7eea23

Please sign in to comment.