mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 08:21:52 +00:00
12b811d749
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
9 lines
158 B
Plaintext
9 lines
158 B
Plaintext
--INI--
|
|
HTML.ForbiddenElements = b
|
|
HTML.ForbiddenAttributes = a@href
|
|
--HTML--
|
|
<b>Foo<a href="bar">bar</a></b>
|
|
--EXPECT--
|
|
Foo<a>bar</a>
|
|
--# vim: et sw=4 sts=4
|