diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-02-21 15:43:14 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-02-21 15:43:14 +0100 |
commit | d4949327efa15b492cab1bef3fe074290a328a17 (patch) | |
tree | e89e0322bb1f1b06d663fd10fdded21bac867e5d /inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt | |
parent | c9bd17a1007bb78e5de0775efca01df0fb515031 (diff) | |
download | wallabag-d4949327efa15b492cab1bef3fe074290a328a17.tar.gz wallabag-d4949327efa15b492cab1bef3fe074290a328a17.tar.zst wallabag-d4949327efa15b492cab1bef3fe074290a328a17.zip |
[add] HTML Purifier added to clean code
Diffstat (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt')
-rw-r--r-- | inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt new file mode 100644 index 00000000..2b8df97c --- /dev/null +++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | HTML.ForbiddenAttributes | ||
2 | TYPE: lookup | ||
3 | VERSION: 3.1.0 | ||
4 | DEFAULT: array() | ||
5 | --DESCRIPTION-- | ||
6 | <p> | ||
7 | While this directive is similar to %HTML.AllowedAttributes, for | ||
8 | forwards-compatibility with XML, this attribute has a different syntax. Instead of | ||
9 | <code>tag.attr</code>, use <code>tag@attr</code>. To disallow <code>href</code> | ||
10 | attributes in <code>a</code> tags, set this directive to | ||
11 | <code>a@href</code>. You can also disallow an attribute globally with | ||
12 | <code>attr</code> or <code>*@attr</code> (either syntax is fine; the latter | ||
13 | is provided for consistency with %HTML.AllowedAttributes). | ||
14 | </p> | ||
15 | <p> | ||
16 | <strong>Warning:</strong> This directive complements %HTML.ForbiddenElements, | ||
17 | accordingly, check | ||
18 | out that directive for a discussion of why you | ||
19 | should think twice before using this directive. | ||
20 | </p> | ||
21 | --# vim: et sw=4 sts=4 | ||