Umm…. no. I’m talking about on the server-side.
Once installed, right-click on the Tidy icon on the bottom statusbar, select “cleanup”, set your indent to the spacing you prefer (2 is default), and hit refresh.
You can also set accessibility (1, 2, or 3, depending on the requirement) options through the options page. You can also select the validator (Tidy, SGML, serial). In combination with a doctype and Firefox (I use XHTML so my markup is tight), it works great.
In some cases this is better than the server transformation, as you do not need to apply it as overhead to every page for every page request per *customer*, as opposed to just the one person (designer).
If you NEED that functionality (for accessibility reasons), then obviously it will not work for this need, and you will need a server transformation.
I don’t know what the um no is about, but I think that Yes, it does work.
😊
EDIT:
Here is a link to the PHP docs on the HTML Tidy:
http://www.php.net/tidy
In the first example (scroll way down the page), you’ll see how easy it is to use, and see the indent=true config setting passed in the array, which *should* mean it would be simple to implement in the core if certain procedures were met.
Not that it would turn out to be easy…! 😊
The server will need to support HTML Tidy through a library extension installed on the server, and maybe PEAR (although I don’t know about that).