WordPress at a glance
class is not described

Pelago\Emogrifier\HtmlProcessor

HtmlNormalizer{} WC 1.0

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.

Return

Null. Nothing.

Usage

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

Methods

No Methods in class.

Code of HtmlNormalizer{} WC 5.0.0

<?php
class HtmlNormalizer extends AbstractHtmlProcessor
{
}