Cleans all the crap out of HTML produced by Microsoft Word
This package is a conversion of the work started by WebmasterSherpa into a class based composer package.
You can add this library as a local, per-project dependency to your project using Composer:
composer require touson/mswordcleanup
$cleaner = new touson\Cleaner('some HTML');
// Returns the cleaned HTML
$cleaner->cleanHtml();
// Or you can use it statically. This will new up an instance of the Cleaner class, run the cleanHtml() method and return the result
Cleaner::clean('some HTML');