1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-16 09:31:27 +01:00
vichan/inc/lib/htmlpurifier-4.6.0/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt
2015-02-20 23:16:38 -08:00

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