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

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

Htmlpurifier: Auto Br

How i can get: firstp second p from: first p Read more Htmlpurifier: Auto Br

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

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

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'

How Do I Add 'javascript' Url Scheme In Html Purifier Module In Drupal?

How can I can add the 'javascript:xyz' url format for the URI.AllowedSchemes in HTML purifi… Read more How Do I Add 'javascript' Url Scheme In Html Purifier Module In Drupal?