Disables warning due to html5 tags on loadHTML in embed class.
This commit is contained in:
parent
1f1cc48a40
commit
5cd34b71ef
|
@ -143,7 +143,9 @@ class Embed {
|
|||
$width = false;
|
||||
|
||||
$dom = new \DOMDocument();
|
||||
libxml_use_internal_errors(true);
|
||||
$dom->loadHTML($html);
|
||||
libxml_clear_errors();
|
||||
|
||||
// If we have a fixed aspect iframe, and it's a responsive embed content.
|
||||
if ($dom) {
|
||||
|
|
Loading…
Reference in New Issue