|
es555
custom whitelist?August 20, 2009 02:59AM |
|
Re: custom whitelist? August 20, 2009 09:55AM |
Registered: 5 years ago Posts: 204 |
i'd start with reading the docs on this site.
http://htmlpurifier.org/live/configdoc/plain.html#HTML.AllowedElements
http://htmlpurifier.org/live/configdoc/plain.html#HTML.AllowedAttributes
are what you require. you could use HTML.Allowed for a general purpose, but you'll get more benefit from using the above 2 configs rather than HTML.Allowed.
hope this helps you.
|
Re: custom whitelist? August 20, 2009 10:45AM |
Admin Registered: 6 years ago Posts: 2,636 |
%HTML.Allowed is a strictly equivalent to the two mentioned above.