mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 17:01:51 +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>
|