This simple utility removes some garbage from HTML documents created using Microsoft Word. The cleaned-up document is sent as the response, so that you see it displayed in your browser. Use the Save command of your browser to save the HTML document.
You are expected to have saved the document as “web page, filtered”, since the filtering removes much of the garbage. This utility removes the following:
style elements
style attributes
width attributes
lang attributes (beware that they might sometimes be correct
and useful)
span tags
font tags
align="justify" attributes
valign=top attributes (might be useful, but use
CSS instead or set the attribute per tr only)
class=MsoNormal attributes
class=WordSectionn attributes
class=MsoTableGridn attributes