Emogrifier::addUnprocessableHtmlTag( string $tagName )

Marks a tag for removal.


Description Description

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.


Parameters Parameters

$tagName

(Required) the tag name, e.g., "p"


Top ↑

Return Return

(void)


Top ↑

Source Source

File: vendor/pelago/emogrifier/src/Emogrifier.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.