repo.or.cz
/
htmlpurifier.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rewrite CSS url() and font-family output logic.
[htmlpurifier.git]
/
tests
/
HTMLPurifier
/
HTMLT
/
allowed-remove.htmlt
blob
2b6b8eea6d663926391e207fb4211afa2b6e243b
1
--INI--
2
HTML.AllowedElements = b,i,p,a
3
HTML.AllowedAttributes = a.href,*.id
4
--HTML--
5
<span>Not allowed</span><a class="mef" id="foobar">Remove id too!</a>
6
--EXPECT--
7
Not allowed<a>Remove id too!</a>
8
--# vim: et sw=4 sts=4