]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt
[add] HTML Purifier added to clean code
[github/wallabag/wallabag.git] / inc / 3rdparty / htmlpurifier / HTMLPurifier / ConfigSchema / schema / HTML.AllowedCommentsRegexp.txt
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 (file)
index 0000000..b1e65be
--- /dev/null
@@ -0,0 +1,15 @@
+HTML.AllowedCommentsRegexp\r
+TYPE: string/null\r
+VERSION: 4.4.0\r
+DEFAULT: NULL\r
+--DESCRIPTION--\r
+A regexp, which if it matches the body of a comment, indicates that\r
+it should be allowed. Trailing and leading spaces are removed prior\r
+to running this regular expression.\r
+<strong>Warning:</strong> Make sure you specify\r
+correct anchor metacharacters <code>^regex$</code>, otherwise you may accept\r
+comments that you did not mean to! In particular, the regex <code>/foo|bar/</code>\r
+is probably not sufficiently strict, since it also allows <code>foobar</code>.\r
+See also %HTML.AllowedComments (these directives are union'ed together,\r
+so a comment is considered valid if any directive deems it valid.)\r
+--# vim: et sw=4 sts=4\r