19 lines
469 B
PHP
Executable File
19 lines
469 B
PHP
Executable File
<?php
|
|
|
|
namespace Pelago\Emogrifier\HtmlProcessor;
|
|
|
|
/**
|
|
* 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
|
|
*
|
|
* @internal This class currently is a new technology preview, and its API is still in flux. Don't use it in production.
|
|
*
|
|
* @author Oliver Klee <github@oliverklee.de>
|
|
*/
|
|
class HtmlNormalizer extends AbstractHtmlProcessor
|
|
{
|
|
}
|