add example of skipping blog posts while scrubbing comments
authorJoey Hess <joey@kitenet.net>
Fri, 12 Nov 2010 04:24:33 +0000 (00:24 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 12 Nov 2010 04:24:33 +0000 (00:24 -0400)
doc/plugins/htmlscrubber.mdwn

index c59b46e14e12624463881101fff3190de36061c1..080575c463e0e531ba2717989a966b93221e7fb5 100644 (file)
@@ -32,10 +32,11 @@ 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 "!*/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.
+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.
 
 ----