Skip to content

kennberg/php-htmlpurfier-html5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-htmlpurifier-html5

Load HTMLPurifier with support for:

  • HTML5
  • TinyMCE
  • YouTube
  • Video

How to use

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.

More info

HTMLPurifier: http://htmlpurifier.org/

Contributions: Propose each change via issues, then fork, implement and send a pull request.

License

Apache v2. See the LICENSE file.

About

HTML Purifier with support for HTML5, TinyMCE, Youtube, Vimeo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages