Top "Htmlpurifier" questions

HTML filtering library for PHP

remove script tag from HTML content

I am using HTML Purifier (http://htmlpurifier.org/) I just want to remove <script> tags only. I don't …

php regex htmlpurifier
HTMLPurifier iframe Vimeo and Youtube video

How can I use HTMLPurifier to filter xss but also to allow iframe Vimeo and Youtube video? require_once 'htmlpurifier/…

php video iframe xss htmlpurifier
How to Minify HTML code?

My idea is to somehow minify HTML code in server-side, so client receive less bytes. What do I mean with "…

html html-parsing minify htmlpurifier min
What does HTML Purifier do that secure PHP programming can't?

I'm researching PHP security best practices and specifically the HTML Purifier library. I like the idea of using a third-party …

php security htmlpurifier
HTMLPurifier allow class attribute

How can i allow "class" in HTMLPurifier? I am trying to purify this: <div class="txt_r" id="test"&…

html htmlpurifier
Modifying htmlpurifier allowed tags for this markup

My html purifier settings now allow only these tags $configuration->set('HTML.Allowed', 'p,ul,ol,li'); I want …

php xss htmlpurifier
HTML filter that is HTML5 compliant

Is there a simple approach to add a HTML5 ruleset for HTMLPurifier? HP can be configured to recognize new tags …

php html htmlpurifier