LINT REPORT:
<div id="report"></div>
</div>
- <div id="todo">
- TODO:
- <ul>
- <li>Unit test HTMLLint</li>
- <li>Strip whitespace from attributes where allowed</li>
- <li>Add option to collapse all whitespace to 1 character, instead of completely removing it (to preserve empty text nodes)</li>
- <li>Figure out when it is safe to remove optional closing tags, so that it doesn't affect document tree</li>
- <li>Support IE "Downlevel-revealed Conditional Comments"</li>
- <li>Remove as many empty/blank attributes as possible (not just core ones)</li>
- <li>Parser trips over xml declarations (need to ignore or strip them)</li>
- <li>Generate a report of all applied transformations</li>
- <li>Experiment with web workers (to avoid freezing browser)</li>
- <li>Whitespace is munged in element that's descendant of <code>pre</code>
- (e.g.: <code><pre><code>...</code></pre></code>)</li>
- </ul>
- <ul>
- <li>HTMLLint: warn about repeating attributes (e.g. multiple styles, classes, etc.)</li>
- <li>HTMLLint: warn about missing doctype</li>
- </ul>
- </div>
<p class="quiet" style="font-style:italic;">
HTMLMinifier is made by <a href="http://perfectionkills.com/">kangax</a>,
using tweaked version of HTML parser by <a href="http://ejohn.org/">John Resig</a>