rhymix/classes/security/htmlpurifier/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt
2012-04-20 07:34:00 +00:00

8 lines
222 B
Text

--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