Well, while I enjoy a good challenge (especially sed, awk, or perl),
htmltidy does the trick quite nicely.  It doesn't indent the way that
I do, but my first priority was making the output W3C compliant, and
htmltidy's output is that.

I haven't used it in awhile, but there may be some command line options to assist with the indentation...

--
[email protected] mailing list

Reply via email to