pastafarianstvi.cz/libraries/htmlpurifier-4.14.0/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt
2022-11-19 17:30:09 +01:00

8 lines
230 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