Outputting nicely formatted markup

I’m just trying to produce some nice (X)HTML5, and the formatting is driving me absolutely bonkers.  

I do want most elements indented, but not everything.  It’s overkill to indent the <a> element inside of a listitem.  

And I also don’t want the output to insert newlines in the middle of <p> elements.  One paragraph element per line is fine.

Am I asking the impossible?  :D

—Tony

Received on Monday, 27 September 2010 17:53:06 UTC