Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
AbstractHtmlProcessor::ensurePhpUnrecognizedSelfClosingTagsAreXml( string $html )
Makes sure that any self-closing tags not recognized as such by PHP’s DOMDocument implementation have a self-closing slash.
Description Description
Parameters Parameters
- $html
-
(Required)
Return Return
(string) HTML with problematic tags converted.
Source Source
File: vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/AbstractHtmlProcessor.php