On Thu, Mar 08, 2007 at 09:55:28AM +0000, Eur Ing Chris Green wrote:
On Thu, Mar 08, 2007 at 08:45:58AM +0000, Eur Ing Chris Green wrote:
On Thu, Mar 08, 2007 at 07:16:13AM +0000, Richard Jordan wrote:
Several years ago I used to use a program called HTML Tidy. I haven't used it for ages, but it would be worth a look. Google tells me that it can now be found at http://tidy.sourceforge.net/
... and, much to my surprise, it's already installed on my Linux box as part of the KDE installation for some reason! :-)
Thanks!
HOWEVER it's totally useless! All that 'tidy' does is to correct the HTML syntax, it doesn't beutify it at all. In fact it turns it into a total mess by removing *all* the indenting.
Grrrrr. Back to square one.
... but no, I was too hasty! :-)
There is a -indent option to tidy which *does* prettify/beautify the code, so I'm happy again! I can now look at my template code with some sort of chance of understanding it.