Skip to content Skip to sidebar Skip to footer
Showing posts with the label 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

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

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

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

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'

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