Add strip unnecessary tags filter #92

GoogleCodeExporter opened this Issue Apr 6, 2015 · 4 comments


None yet
1 participant
From Andy Hochhaus on discus list:

New filter idea:

Certain HTML tags are optional and can generally be omitted; for
example, an HTML page without an enclosing <html> tag will still
render correctly in browsers, so Page Speed's HTML compactor will
remove such tags. However, some webmasters may want their HTML to
conform to a strict doctype, such as XHTML, and removing “optional”
tags may break validation of these doctypes.

Original issue reported on by on 17 Nov 2010 at 1:19

Original comment by on 17 Nov 2010 at 1:19

  • Changed state: New
don't we already respect the doctype?

Original comment by on 2 Apr 2011 at 4:37

Yes, this is an idea for a possible future filter that would strip unnecessary 
tags from HTML, but not XHTML (where they are necessary).

Original comment by on 4 Apr 2011 at 5:08

Original comment by on 24 May 2012 at 7:12

  • Changed state: Accepted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment