19 #ifndef PAGESPEED_KERNEL_HTML_HTML_ATTRIBUTE_QUOTE_REMOVAL_H_
20 #define PAGESPEED_KERNEL_HTML_HTML_ATTRIBUTE_QUOTE_REMOVAL_H_
25 namespace net_instaweb {
51 return total_quotes_removed_;
54 virtual const char*
Name()
const {
return "HtmlAttributeQuoteRemoval"; }
57 int total_quotes_removed_;
59 bool needs_no_quotes_[256];
Definition: empty_html_filter.h:37
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: html_attribute_quote_removal.h:54
virtual void StartElement(HtmlElement *element)
Definition: html_parse.h:88
Definition: html_element.h:42
bool NeedsQuotes(const char *val)
Given context in object, does attribute value val require quotes?
Definition: html_attribute_quote_removal.h:42
int total_quotes_removed() const
of quote pairs removed from attributes in all documents processed.
Definition: html_attribute_quote_removal.h:50