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.AllowedCommentsRegexp.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.AllowedCommentsRegexp.txt')
-rw-r--r-- | inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt new file mode 100644 index 00000000..b1e65beb --- /dev/null +++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | HTML.AllowedCommentsRegexp | ||
2 | TYPE: string/null | ||
3 | VERSION: 4.4.0 | ||
4 | DEFAULT: NULL | ||
5 | --DESCRIPTION-- | ||
6 | A regexp, which if it matches the body of a comment, indicates that | ||
7 | it should be allowed. Trailing and leading spaces are removed prior | ||
8 | to running this regular expression. | ||
9 | <strong>Warning:</strong> Make sure you specify | ||
10 | correct anchor metacharacters <code>^regex$</code>, otherwise you may accept | ||
11 | comments that you did not mean to! In particular, the regex <code>/foo|bar/</code> | ||
12 | is probably not sufficiently strict, since it also allows <code>foobar</code>. | ||
13 | See also %HTML.AllowedComments (these directives are union'ed together, | ||
14 | so a comment is considered valid if any directive deems it valid.) | ||
15 | --# vim: et sw=4 sts=4 | ||