Page Speed Optimization Libraries
1.4.26.1
|
#include "explicit_close_tag.h"
Public Member Functions | |
virtual void | EndElement (HtmlElement *element) |
virtual const char * | Name () const |
The name of this filter -- used for logging and debugging. |
Makes every tag explicitly or briefly closed so that when we re-serialize we can see the structure as interpreted by the parser.
This is intended for validation & unit-testing so that we can see the DOM-structure output of the parser in the serialized output. In general we will not want to turn this filter on in production because it makes the HTML bigger.