Simon Willison’s Weblog

Subscribe

HTMLCleaner class for PHP

6th April 2003

htmlcleaner is a PHP class which claims to be able to clean up the revolting HTML generated by Micrsoft’s HTML libraries, in particular the one that is used for browser embedded WYSIWYG editors. We’re using HTML Tidy for this with excellent results, but for people who can’t run HTML Tody this could be a useful solution. Unfortunately the class is hosted on PHP Classes which still insists on making you log in for no apparent reason.

This is HTMLCleaner class for PHP by Simon Willison, posted on 6th April 2003.

Next: UltraEdit and the clipboard

Previous: Archive woes

Previously hosted at http://simon.incutio.com/archive/2003/04/06/htmlCleaner