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.
To see the options available, check the code in skValidatorHTML::configure()
.
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