0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-14 09:18:41 +00:00
htmlpurifier/tests/HTMLPurifier/HTMLModule
Mateusz Turcza 3bdc031224
Add %HTML.Forms config directive (#260)
The %HTML.Forms directive enables Forms module regardless of the %HTML.Trusted
value. This adds support for form elements without enabling other unsafe
modules, such as Scripts, Iframe or Object.

To achieve the same effect without this directive one has to explicitly list
all enabled modules in %HTML.AllowedModules, and any not listed will be
removed. This however is not very convenient, as the allowed modules may vary
between doctypes.

Resolves #213.
2020-06-28 20:26:33 -04:00
..
FormsTest.php Add %HTML.Forms config directive (#260) 2020-06-28 20:26:33 -04:00
ImageTest.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
NameTest.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
NofollowTest.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
ObjectTest.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
ProprietaryTest.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
RubyTest.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
SafeEmbedTest.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
SafeObjectTest.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
SafeScriptingTest.php Make SafeScripting case-sensitive. 2018-11-11 16:21:58 -05:00
ScriptingTest.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
TargetBlankTest.php Refactor HTML.Noopener to HTML.TargetNoopener so that it behaves like HTML.TargetNoreferrer and is active by default if a target is set 2017-02-03 16:54:51 -08:00
TargetNoopenerTest.php Refactor HTML.Noopener to HTML.TargetNoopener so that it behaves like HTML.TargetNoreferrer and is active by default if a target is set 2017-02-03 16:54:51 -08:00
TargetNoreferrerTest.php Refactor HTML.Noopener to HTML.TargetNoopener so that it behaves like HTML.TargetNoreferrer and is active by default if a target is set 2017-02-03 16:54:51 -08:00
TidyTest.php Update to work with Git version of SimpleTest. 2016-03-24 00:08:03 -07:00