tags:

views:

56

answers:

3

I'm inheriting a mess of a website where the structure of is impossible to follow mostly because of lack of indenting. Is there a utility that can massage existing code to proper indents?

+3  A: 

HTML Tidy is pretty much the standard, and it's often already integrated into text editors and IDEs.

deceze
A: 

HTML Tidy does a great job at reformatting. It has options for tuning how it processes the files.

Keith Bloom
A: 

Aptana has a source code formatter, it works for HTML, Javascript, PHP, CSS, pretty much everything a web-geek needs ...

phalacee