I was wondering if anyone knew of a php script that would take a messy HTML file and format it with proper spacing and indenting and all that fun stuff, kind of the same thing that Dreamweaver does.
I have this online HTML editor that uses htmlArea (http://www.interactivetools.com/products/htmlarea/) and the code that it creates is a huge mess. If I could find a script that would make it readable, that would be great.
Thanks in advance.