title: Is there such thing as a JSP minifier? (or Open Source HTML minifier)
body: <p>This would be an HTML minifier that skips everything between <code>&lt;%</code> and <code>%&gt;</code>.</p>
  
  <p>Actually, an Open Source HTML minifier would be a good starting place, especially if it already had code to preserve the contents certain blocks like <code>&lt;textarea</code>. It's code might be able to be made to preserve <code>&lt;%%&gt;</code> blocks also.</p>
  
  <p>I am aware that HTML minifiers are less common because that changes more often than JS/CSS and is often dynamically generated, but if the JSP compiler could be made to minify before making its compiled cache copy, it would result in minified HTML.</p>
  
  <p>Also, an ASP minifier would probably be very close to the same thing. And I don't care about custom tags that have meaning to the server. The only stuff that matters to the server (for my company) is in the <code>&lt;%%&gt;</code> blocks.</p>