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

Using Html Purifier On A Site With Only Plain Text Input

I would appreciate an answer to settle a disagreement between me and some co-workers. We have a typ… Read more Using Html Purifier On A Site With Only Plain Text Input

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: 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

Is There A Way To Stop Htmlpurifier/csstidy From Forcing Input Css Into All Lowercase?

Using PHP/Codeigniter/HTMLPurifier/CSStidy like so: require_once 'extra/htmlpurifier-4_4_0/li… Read more Is There A Way To Stop Htmlpurifier/csstidy From Forcing Input Css Into All Lowercase?

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

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?

Htmlpurifier Custom Attributes

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

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'

Is There A Way To Stop HTMLPurifier/CSStidy From Forcing Input CSS Into All Lowercase?

Using PHP/Codeigniter/HTMLPurifier/CSStidy like so: require_once 'extra/htmlpurifier-4_4_0/li… Read more Is There A Way To Stop HTMLPurifier/CSStidy From Forcing Input CSS Into All Lowercase?