1 [[!meta author="""joey"""]]
3 [[!meta authorurl="""http://ikiwiki.info/ikiwiki.cgi?page=users%2Fjoey&do=goto"""]]
5 [[!meta title="""change to plugins/htmlscrubber on ikiwiki"""]]
7 [[!meta permalink="http://ikiwiki.info/recentchanges/#change-d5056fb61e8332fea658363e931ec28a35681ffe"]]
9 <div id="change-d5056fb61e8332fea658363e931ec28a35681ffe" class="metadata">
10 <span class="desc"><br />Changed pages:</span>
11 <span class="pagelinks">
13 <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/plugins/htmlscrubber.mdwn;h=080575c463e0e531ba2717989a966b93221e7fb5;hp=c59b46e14e12624463881101fff3190de36061c1;hb=d5056fb61e8332fea658363e931ec28a35681ffe;hpb=289b30a47d548326aad9c1dc5252fc0269494c87" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=plugins%2Fhtmlscrubber&do=goto" rel="nofollow">plugins/htmlscrubber</a>
17 <span class="desc"><br />Changed by:</span>
18 <span class="committer">
20 <a href="http://ikiwiki.info/ikiwiki.cgi?page=users%2Fjoey&do=goto" rel="nofollow">joey</a>
23 <span class="desc"><br />Commit type:</span>
24 <span class="committype">git</span>
25 <span class="desc"><br />Date:</span>
26 <span class="changedate"><span class="relativedate" title="Fri, 12 Nov 2010 00:24:33 -0400">00:24:33 11/12/10</span></span>
27 <span class="desc"><br /></span>
31 <a href="http://ikiwiki.info/ikiwiki.cgi?rev=d5056fb61e8332fea658363e931ec28a35681ffe&do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
34 <div class="changelog">
37 add example of skipping blog posts while scrubbing comments<br />
44 diff --git a/doc/plugins/htmlscrubber.mdwn b/doc/plugins/htmlscrubber.mdwn
45 index c59b46e..080575c 100644
46 --- a/doc/plugins/htmlscrubber.mdwn
47 +++ b/doc/plugins/htmlscrubber.mdwn
48 @@ -32,10 +32,11 @@ other HTML-related functionality, such as whether [[meta]] allows
49 potentially unsafe HTML tags.
51 The `htmlscrubber_skip` configuration setting can be used to skip scrubbing
52 -of some pages. Set it to a [[ikiwiki/PageSpec]], such as "!*/Discussion",
53 -and pages matching that can have all the evil CSS, JavsScript, and unsafe
54 -html elements you like. One safe way to use this is to use [[lockedit]] to
55 -lock those pages, so only admins can edit them.
56 +of some pages. Set it to a [[ikiwiki/PageSpec]], such as
57 +"posts/* and !comment(*) and !*/Discussion", and pages matching that can have
58 +all the evil CSS, JavsScript, and unsafe html elements you like. One safe
59 +way to use this is to use [[lockedit]] to lock those pages, so only admins
68 <!-- d5056fb61e8332fea658363e931ec28a35681ffe -->