Pelago\Emogrifier::addUnprocessableHtmlTag
Marks a tag for removal.
There are some HTML tags that DOMDocument cannot process, and it will throw an error if it encounters them. In particular, DOMDocument will complain if you try to use HTML5 tags in an XHTML document. Note: The tags will not be removed if they have any content.
Signature
public function addUnprocessableHtmlTag(string
$tagName )
Parameters
$tagName
— string- the tag name, e.g., "p"
Returns
- void