Skip to content Skip to sidebar Skip to footer
Showing posts with the label Htmlpurifier

Remove Empty Tags In Imperavi Redactor

Using Imperavi Redactor with Yii 2 framework. When no text is entered, Imperavi Redactor produces t… Read more Remove Empty Tags In Imperavi Redactor

Htmlpurifier, Check Entire Html Document

I'm using HTMLPurifier to check for XSS in an entire HTML document. The problem is that it appe… Read more Htmlpurifier, Check Entire Html Document

With Htmlpurifier, How To Add A Couple Attributes To The Default Whitelist, E.g. 'onclick'

Two questions: I have been reading docs and SO posts.. and know how to do it the long way (defining… Read more With Htmlpurifier, How To Add A Couple Attributes To The Default Whitelist, E.g. 'onclick'

Htmlpurifier Custom Attributes

How to allow custom (html5 data-*) attributes in HtmlPurifier? Input: leads to an error: Attribut… Read more Htmlpurifier Custom Attributes

How Can I Allow

How can I allow elements with HTML Purifier? I have tried $config->set('HTML.Allowed', … Read more How Can I Allow

Include HTMLpurifier With Zend_Loader

I want to use the HTMLpurifier in combination with the Zend Framework. I would love to load the Cla… Read more Include HTMLpurifier With Zend_Loader