Edit: After a quick search on google...I've realized I'll likely have to say JUST HTML and NOT PHP. I need something written in Javascript or PHP which beautifies ONLY HTML and Javascript (would be nice).
Anyone know fo any PHP or preferably Javascript code which would take a massive string of HTML and Javascript, CSS, etc...
And format it nicely with indentation, etc?
I'm looking for something I can use it in a commercial app without restrictions so long as the source doesn't change.
Thanks a bunch