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

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 - Adding To Ignore List

I am trying to pass some XML tags (abcdef>) through htmlpurifier. Since the tags itself are not … Read more Htmlpurifier - Adding To Ignore List

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

Allowing Data-* Attributes With Htmlpurifier

Currently I am using this code with HTMLPurifier to allow data-* HTML tag attributes: $def = $c… Read more Allowing Data-* Attributes With Htmlpurifier

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

How To Use Htmlpurifier To Allow Entire Document To Be Passed Including Html,head,title,body

Given the code below, how do I use htmlpurifier to allow the entire contents to pass through. I wan… Read more How To Use Htmlpurifier To Allow Entire Document To Be Passed Including Html,head,title,body

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