first commit
This commit is contained in:
8
htmlpurifier-4.10.0/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt
Executable file
8
htmlpurifier-4.10.0/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt
Executable file
@ -0,0 +1,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
|
Reference in New Issue
Block a user