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/Core.HiddenElements.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/Core.HiddenElements.txt')
-rw-r--r-- | inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt new file mode 100644 index 00000000..c337e47f --- /dev/null +++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt | |||
@@ -0,0 +1,19 @@ | |||
1 | Core.HiddenElements | ||
2 | TYPE: lookup | ||
3 | --DEFAULT-- | ||
4 | array ( | ||
5 | 'script' => true, | ||
6 | 'style' => true, | ||
7 | ) | ||
8 | --DESCRIPTION-- | ||
9 | |||
10 | <p> | ||
11 | This directive is a lookup array of elements which should have their | ||
12 | contents removed when they are not allowed by the HTML definition. | ||
13 | For example, the contents of a <code>script</code> tag are not | ||
14 | normally shown in a document, so if script tags are to be removed, | ||
15 | their contents should be removed to. This is opposed to a <code>b</code> | ||
16 | tag, which defines some presentational changes but does not hide its | ||
17 | contents. | ||
18 | </p> | ||
19 | --# vim: et sw=4 sts=4 | ||