Please test out my Pretty Diff tool if you write code.
http://mailmarkup.org/prettydiff/prettydiff.html
This tool is designed to be a differencing tool that minifies and then beautifies code before diffing it. The idea is to be able to diff code without regard for comments, white space, or minification. It shows differences per line and highlights the specific characters that are different.
The tool can also be used to minify and beautify JavaScript, CSS, and almost any markup language. It provide tolerance for PHP, ASP, and SSI tags. The markup beautification does not inject additional white space that would result in additional white