Cleans up the otherwise-ugly output generated by Microsoft Word when you use the File -> Save As HTML option.
- Removes uneccessary tags and attributes, such as inline CSS and extraneous IDs
- Cleans up encoding problems and HTML entities
- Balances tags to ensure valid HTML
- Typesets everything via the Texturize engine
- Converts Word's footnotes into a format compatible with Bootstrap's tooltips
- Export your document from Word by using the File -> Save As option.
- Modify
convert.php
to point to the file (or name itindex.html
and place it in the same folder as this script) - Visit convert.php in your browser
- Copy and paste the output from the text area
Licensed under the GNU General Public License Version 3 or later.