Load standalone HTMLPurifier with support for:
- HTML5
- TinyMCE
- YouTube
- Video
If you're using Composer to manage dependencies, you can use
$ composer require "masterjoa/htmlpurifier-html5": "dev-master"
If you already have a GIT repo for your server, then:
git submodule add https://github.com/Masterjoa/HTMLPurifier-html5 HTMLPurifier-html5
git submodule init
Or, for installation inside your server directory:
git clone https://github.com/Masterjoa/HTMLPurifier-html5
Note: Make sure HTMLPurifier si installed if you do not install using composer.
View the example.php file to see how it works.
HTMLPurifier: http://htmlpurifier.org/
php-htmlpurifier-html5: https://github.com/kennberg/php-htmlpurfier-html5
Contributions: Propose each change via issues, then fork, implement and send a pull request.
Apache v2. See the LICENSE file.