masterjoa/htmlpurifier-html5

Load standalone HTMLPurifier with support for HTML5, TinyMCE, YouTube, Video

v0.1 2016-05-06 16:23 UTC

This package is not auto-updated.

Last update: 2024-12-23 21:50:12 UTC


README

Load standalone HTMLPurifier with support for:

  • HTML5
  • TinyMCE
  • YouTube
  • Video

Installation

Composer

If you're using Composer to manage dependencies, you can use

$ composer require "masterjoa/htmlpurifier-html5": "dev-master"

GIT

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.

More info

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.

License

Apache v2. See the LICENSE file.