Automattic\WooCommerce\Vendor\Pelago\Emogrifier\HtmlProcessor

HtmlNormalizer{}finalWC 1.0└─ AbstractHtmlProcessor

Normalizes HTML:

  • add a document type (HTML5) if missing
  • disentangle incorrectly nested tags
  • add HEAD and BODY elements (if they are missing)
  • reformat the HTML

No Hooks.

Usage

$HtmlNormalizer = new HtmlNormalizer();
// use class methods

Methods

No Methods in class.

HtmlNormalizer{} code WC 10.8.1

final class HtmlNormalizer extends AbstractHtmlProcessor {}