mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 17:01:51 +00:00
8 lines
135 B
Plaintext
8 lines
135 B
Plaintext
|
--INI--
|
||
|
HTML.ForbiddenElements = b
|
||
|
HTML.ForbiddenAttributes = a@href
|
||
|
--HTML--
|
||
|
<b>Foo<a href="bar">bar</a></b>
|
||
|
--EXPECT--
|
||
|
Foo<a>bar</a>
|