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.
Tidy doen't indent the code by default because the extra space at the start of the line supposedly affects the layout in some ancient browsers no-one uses any more.
If you want to turn indenting on, you need to pass it the -i option. Or enable it in your config file.
It honestly does work once you've got it configured properly.