views:

177

answers:

2

How do I allow the marquee tag in html purifier http://htmlpurifier.org/ I read the docs but I couldn't find anything. Does any one have a clue?

A: 

Did you really read the docs? Cause I found it in less than 20 seconds on their site.

http://htmlpurifier.org/live/INSTALL -- "4.3. Other settings"

Coronatus
Where is it at?
TaG
Are you kidding or something? I even gave you the section number.
Coronatus
It ain't working :(
TaG
$config->set('HTML.Allowed', 'p,b,a[href],i');
lhnz
+1  A: 

Marquee is not, and was ever, a valid HTML tag, so HTML Purifier doesn't support it even if you set HTML.Allowed. You'll have to follow the instructions here to add support for it: http://htmlpurifier.org/docs/enduser-customize.html

Edward Z. Yang