HtmlTidy

Last edit May 16, 2008
Utility for PrettyPrinting and regularizing HTML, written by Dave Raggett.
Any testimonials?

besides assert_tidy?

Whenever our designers deliver HTML assets, we run this on them:

  tidy -i -asxhtml asset.html > asset.rhtml

That gets the source ready for modern tools, such as AssertXpath.

Then, our tests frequently call assert_tidy, to ensure the XHTML _stays_ tidy, no matter how much refactoring and templating it endures.

--PhlIp