Automattic\WooCommerce\Vendor\Pelago\Emogrifier\HtmlProcessor

AbstractHtmlProcessor::renderpublicWC 1.0

Renders the normalized and processed HTML.

Method of the class: AbstractHtmlProcessor{}

No Hooks.

Returns

String.

Usage

$AbstractHtmlProcessor = new AbstractHtmlProcessor();
$AbstractHtmlProcessor->render(): string;

AbstractHtmlProcessor::render() code WC 10.7.0

public function render(): string
{
    $htmlWithPossibleErroneousClosingTags = $this->getDomDocument()->saveHTML();

    return $this->removeSelfClosingTagsClosingTags($htmlWithPossibleErroneousClosingTags);
}