Load HTMLPurifier with support for:
- HTML5
- TinyMCE
- YouTube
- Video
If you already have a GIT repo for your server, then:
git submodule add https://github.com/kennberg/php-htmlpurifier-html5 php-htmlpurifier-html5
git submodule init
Or, for installation inside your server directory:
git clone https://github.com/kennberg/php-htmlpurifier-html5
Finally, view the example.php file to see how it works.
Make sure you define LIB_DIR so HTML purifier can be loaded. With default LIB_DIR path is: ROOT/lib/third-party/htmlpurifier/. See example.php to how to set this up.
HTMLPurifier: http://htmlpurifier.org/
Contributions: Propose each change via issues, then fork, implement and send a pull request.
Apache v2. See the LICENSE file.