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::prepareHtmlForDomConversion( string $html )

Returns the HTML with added document type, Content-Type meta tag, and self-closing slashes, if needed, ensuring that the HTML will be good for creating a DOM document from it.


Description Description


Parameters Parameters

$html

(Required)


Top ↑

Return Return

(string) the unified HTML


Top ↑

Source Source

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


			


Top ↑

User Contributed Notes User Contributed Notes

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