mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-10 15:48:42 +00:00
4fe475c57f
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1671 48356398-32a2-884e-a903-53898d9a118a
20 lines
731 B
Plaintext
20 lines
731 B
Plaintext
HTML.ForbiddenElements
|
|
TYPE: lookup
|
|
VERSION: 3.1.0
|
|
DEFAULT: array()
|
|
--DESCRIPTION--
|
|
<p>
|
|
This was, perhaps, the most requested feature ever in HTML
|
|
Purifier. Please don't abuse it! This is the logical inverse of
|
|
%HTML.AllowedElements, and it will override that directive, or any
|
|
other directive.
|
|
</p>
|
|
<p>
|
|
If possible, %HTML.Allowed is recommended over this directive, because it
|
|
can sometimes be difficult to tell whether or not you've forbidden all of
|
|
the behavior you would like to disallow. If you forbid <code>img</code>
|
|
with the expectation of preventing images on your site, you'll be in for
|
|
a nasty surprise when people start using the <code>background-image</code>
|
|
CSS property.
|
|
</p>
|