MQHtmlPurifier is a module that integrates the HTMLPurifier filter library with Zend Framework 2.
- Add
"repositories": [ { "type": "vcs", "url": "https://github.com/milqmedia/MQHtmlPurifier" }]
to yourcomposer.json
file. - Add
"milqmedia/mq-htmlpurifier": "dev-master"
to yourcomposer.json
file and runphp composer.phar update
. - Add
MQHtmlPurifier
to yourconfig/application.config.php
file under themodules
key.
MQHtmlPurifier has sane defaults out of the box but offers optional configuration via the mqhtmlpurifier
configuration key.
`config` - passed directly to the HTMLPurifier class.
- Added `Cache.SerializerPath` and set the default cache folder to data/cache/htmlpurifier
Active by default.
This module is a fork of DevmonkHtmlPurifier by DevMonkCom. Updated, changed and enhanced by Milq Media.
#testing