Add strip unnecessary tags filter #92

Open
GoogleCodeExporter opened this Issue Apr 6, 2015 · 4 comments

Comments

Projects
None yet
1 participant
From Andy Hochhaus on discus list:

New filter idea:

http://code.google.com/p/page-speed/wiki/MinifyHtml

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 code.google.com by sligocki@google.com on 17 Nov 2010 at 1:19

Original comment by sligocki@google.com on 17 Nov 2010 at 1:19

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

Original comment by rab...@google.com 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 sligocki@google.com on 4 Apr 2011 at 5:08

Original comment by jmara...@google.com 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