]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/recentchanges/change_d5056fb61e8332fea658363e931ec28a35681ffe._change
(no commit message)
[git.ikiwiki.info.git] / doc / recentchanges / change_d5056fb61e8332fea658363e931ec28a35681ffe._change
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&amp;do=goto" rel="nofollow">plugins/htmlscrubber</a>
16 </span>
17 <span class="desc"><br />Changed by:</span>
18 <span class="committer">
20 <a href="http://ikiwiki.info/ikiwiki.cgi?page=users%2Fjoey&amp;do=goto" rel="nofollow">joey</a>
22 </span>
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>
28 </div>
30 <span class="revert">
31 <a href="http://ikiwiki.info/ikiwiki.cgi?rev=d5056fb61e8332fea658363e931ec28a35681ffe&amp;do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
32 </span>
34 <div class="changelog">
37 add example of skipping blog posts while scrubbing comments<br />
40 </div>
42 <div class="diff">
43 <pre>
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 &#91;&#91;meta&#93;&#93; allows
49  potentially unsafe HTML tags.
50  
51  The `htmlscrubber_skip` configuration setting can be used to skip scrubbing
52 -of some pages. Set it to a &#91;&#91;ikiwiki/PageSpec&#93;&#93;, such as &quot;!*/Discussion&quot;,
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 &#91;&#91;lockedit&#93;&#93; to
55 -lock those pages, so only admins can edit them.
56 +of some pages. Set it to a &#91;&#91;ikiwiki/PageSpec&#93;&#93;, such as 
57 +&quot;posts/* and !comment(*) and !*/Discussion&quot;, 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 &#91;&#91;lockedit&#93;&#93; to lock those pages, so only admins
60 +can edit them.
61  
62  ----
63  
65 </pre>
66 </div>
68 <!-- d5056fb61e8332fea658363e931ec28a35681ffe -->