skValidatorHTMLPlugin

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Plugin Information Installation Contribute
skValidatorHTMLPlugin
Plugin image
2
users
Sign-in
to change
your status

skValidatorHTMLPlugin

This symfony plugin contains a validator for HTML content. It strips out any unwanted tags, attributes and entities, and ensures the markup is well-formed.

Usage

To see the options available, check the code in skValidatorHTML::configure().

License and Attribution

skHTMLValidatorPlugin by Studio Skylab

This code is released under the Creative Commons Attribution-ShareAlike 3.0 License.

All the hard work was done by the following:

  • Cal Henderson — The lib_filter class upon which this plugin is based
  • Jang Kim — Support for single quoted attributes
  • Dan Bogan — Entity decoding outside attributes