HTML source code cleaner (great help for cleaning MS Word content)
PHP class: http://luci.criosweb.ro/blog/2007/08/04/html-cleaner/
Without the tidy PHP extension, the class can:
In conjunction with tidy, the class can apply all tidy actions (clean-up, fix errors, convert to XHTML, etc) and then optionally perform all actions of the class (remove styles, compress, etc).