mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-10 07:38:41 +00:00
8 lines
199 B
Plaintext
8 lines
199 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>
|