mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 17:01:51 +00:00
12b811d749
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
9 lines
222 B
Plaintext
9 lines
222 B
Plaintext
--INI--
|
|
HTML.AllowedElements = b,i,p,a
|
|
HTML.AllowedAttributes = a.href,*.id
|
|
--HTML--
|
|
<span>Not allowed</span><a class="mef" id="foobar">Remove id too!</a>
|
|
--EXPECT--
|
|
Not allowed<a>Remove id too!</a>
|
|
--# vim: et sw=4 sts=4
|