mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-03-12 01:28:44 +00:00
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
|