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 dd71b33 commit 3dc7ff3Copy full SHA for 3dc7ff3
1 file changed
plugin.php
@@ -400,7 +400,7 @@ function filter_headings( $content ) {
400
401
$dom = new \DOMDocument();
402
try {
403
- $dom->loadHTML( '<?xml version="1.0" encoding="UTF-8"?>' . "\n" . $content, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD );
+ @$dom->loadHTML( '<?xml version="1.0" encoding="UTF-8"?>' . "\n" . $content, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD );
404
} catch ( \Exception $e ) {
405
return $arr;
406
}
0 commit comments