Page Speed Optimization Libraries
1.4.26.1
|
#include "pedantic_filter.h"
Public Member Functions | |
PedanticFilter (HtmlParse *html_parse) | |
virtual void | StartElement (HtmlElement *element) |
virtual const char * | Name () const |
The name of this filter -- used for logging and debugging. |
Add mime types for <style> and <script> so that the output passes HTML4+5 validation.
virtual void net_instaweb::PedanticFilter::StartElement | ( | HtmlElement * | element | ) | [virtual] |
When an HTML element is encountered during parsing, each filter's StartElement method is called. The HtmlElement lives for the entire duration of the document.
Reimplemented from net_instaweb::EmptyHtmlFilter.