There are plenty of services online that will color-code and "prettify" your code for you - I'm not interested in that for this question. I've taken over for a previous developer who loves seperating each line of markup with 3 or 4 empty lines, along with using spaces rather than tabs for indenting. This is very opposite to how I (and I think most others) operate.
Is there a service online that can remove empty lines, and handle indentation for me? I could write my own script to do this, and perhaps I will, but if the service already exists then I would much rather use them for the time being.
Convert this:
<div class="className">
<img src="images/one.jpg" />
<p>Foo
<img src="images/two.jpg" />
</p>
</div>
To this:
<div class="className">
<img src="images/one.jpg" />
<p>Foo <img src="images/two.jpg" /></p>
</div>