diff --git a/src/PHPHtmlParser/Dom.php b/src/PHPHtmlParser/Dom.php index f3e17ff9..323000f9 100644 --- a/src/PHPHtmlParser/Dom.php +++ b/src/PHPHtmlParser/Dom.php @@ -79,15 +79,23 @@ class Dom * @var array */ protected $selfClosing = [ - 'img', + 'area', + 'base', + 'basefont', 'br', + 'col', + 'embed', + 'hr', + 'img', 'input', - 'meta', + 'keygen', 'link', - 'hr', - 'base', - 'embed', + 'meta', + 'param', + 'source', 'spacer', + 'track', + 'wbr' ]; /**