You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of DOMDocument in my project generated a warning when using
$success = $dom->loadHtml(''.$xml, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);
to load the Htmlstring and the Html-String was faulty. e.g. missing closing tags.
How can I get this warning via HTML5DomDocument ?
The text was updated successfully, but these errors were encountered:
Inside the HTML5DOMDocument::loadHTML() there is libxml_use_internal_errors(true) and I think this is the reason you don't get a warning, but $success should be false.
The use of DOMDocument in my project generated a warning when using
$success = $dom->loadHtml(''.$xml, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);
to load the Htmlstring and the Html-String was faulty. e.g. missing closing tags.
How can I get this warning via HTML5DomDocument ?
The text was updated successfully, but these errors were encountered: