I’m minifying my html using:
http://htmlcompressor.com/compressor.html
It leaves return characters in so instead of one single line…I get a bunch of individual lines.
Any reason why?(JS and CSS minifiers do not do this) Any experience with this for html minification? Is this a solid tool?
Newlines can affect the output, so they can’t really be safely stripped from every HTML document.
For example:
This gets rendered as:
Demo: http://jsfiddle.net/UTy2f/