aboutsummaryrefslogtreecommitdiffstats
path: root/lib/htmlpurifier/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt
blob: 2b6b8eea6d663926391e207fb4211afa2b6e243b (plain) (blame)
1
2
3
4
5
6
7
8
--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