If you were to log in, you'd be able to get more information on your fellow community member.
Another useful tool is Dave Raggett's Tidy program. It can be found at http://www.w3.org/People/Raggett/tidy/. It will clean up your HTML, and has numerous options so you can customize how it formats (or cleans) the HTML. It's been ported to most OSs, and the source code is available if you want to modify how it works. Since it's a command-line program, it can be hooked into any decent editor -- that is, ones that allow you to run programs and capture the output.