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.Allowed.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.Allowed.txt')
-rw-r--r-- | inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt new file mode 100644 index 00000000..afd48a0d --- /dev/null +++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt | |||
@@ -0,0 +1,25 @@ | |||
1 | HTML.Allowed | ||
2 | TYPE: itext/null | ||
3 | VERSION: 2.0.0 | ||
4 | DEFAULT: NULL | ||
5 | --DESCRIPTION-- | ||
6 | |||
7 | <p> | ||
8 | This is a preferred convenience directive that combines | ||
9 | %HTML.AllowedElements and %HTML.AllowedAttributes. | ||
10 | Specify elements and attributes that are allowed using: | ||
11 | <code>element1[attr1|attr2],element2...</code>. For example, | ||
12 | if you would like to only allow paragraphs and links, specify | ||
13 | <code>a[href],p</code>. You can specify attributes that apply | ||
14 | to all elements using an asterisk, e.g. <code>*[lang]</code>. | ||
15 | You can also use newlines instead of commas to separate elements. | ||
16 | </p> | ||
17 | <p> | ||
18 | <strong>Warning</strong>: | ||
19 | All of the constraints on the component directives are still enforced. | ||
20 | The syntax is a <em>subset</em> of TinyMCE's <code>valid_elements</code> | ||
21 | whitelist: directly copy-pasting it here will probably result in | ||
22 | broken whitelists. If %HTML.AllowedElements or %HTML.AllowedAttributes | ||
23 | are set, this directive has no effect. | ||
24 | </p> | ||
25 | --# vim: et sw=4 sts=4 | ||