]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/htmlscrubber.mdwn
Some comments on fields namespacing
[ikiwiki.git] / doc / plugins / htmlscrubber.mdwn
index b651ffc99bb70a2d129c5158682c307034fac6c2..080575c463e0e531ba2717989a966b93221e7fb5 100644 (file)
@@ -31,6 +31,13 @@ Note that enabling or disabling the htmlscrubber plugin also affects some
 other HTML-related functionality, such as whether [[meta]] allows
 potentially unsafe HTML tags.
 
+The `htmlscrubber_skip` configuration setting can be used to skip scrubbing
+of some pages. Set it to a [[ikiwiki/PageSpec]], such as 
+"posts/* and !comment(*) and !*/Discussion", and pages matching that can have
+all the evil CSS, JavsScript, and unsafe html elements you like. One safe
+way to use this is to use [[lockedit]] to lock those pages, so only admins
+can edit them.
+
 ----
 
 Some examples of embedded javascript that won't be let through when this