|
Revision 21, 0.7 kB
(checked in by admin, 18 years ago)
|
|
|
| Line | |
|---|
| 1 | HTML.ForbiddenElements |
|---|
| 2 | TYPE: lookup |
|---|
| 3 | VERSION: 3.1.0 |
|---|
| 4 | DEFAULT: array() |
|---|
| 5 | --DESCRIPTION-- |
|---|
| 6 | <p> |
|---|
| 7 | This was, perhaps, the most requested feature ever in HTML |
|---|
| 8 | Purifier. Please don't abuse it! This is the logical inverse of |
|---|
| 9 | %HTML.AllowedElements, and it will override that directive, or any |
|---|
| 10 | other directive. |
|---|
| 11 | </p> |
|---|
| 12 | <p> |
|---|
| 13 | If possible, %HTML.Allowed is recommended over this directive, because it |
|---|
| 14 | can sometimes be difficult to tell whether or not you've forbidden all of |
|---|
| 15 | the behavior you would like to disallow. If you forbid <code>img</code> |
|---|
| 16 | with the expectation of preventing images on your site, you'll be in for |
|---|
| 17 | a nasty surprise when people start using the <code>background-image</code> |
|---|
| 18 | CSS property. |
|---|
| 19 | </p> |
|---|