summaryrefslogtreecommitdiff
path: root/doc/recentchanges/change_d5056fb61e8332fea658363e931ec28a35681ffe._change
blob: 5ed5137ba41b065a9f751e7af53a29099c91596e (plain)
  1. [[!meta author="""joey"""]]
  2. [[!meta authorurl="""http://ikiwiki.info/ikiwiki.cgi?page=users%2Fjoey&do=goto"""]]
  3. [[!meta title="""change to plugins/htmlscrubber on ikiwiki"""]]
  4. [[!meta permalink="http://ikiwiki.info/recentchanges/#change-d5056fb61e8332fea658363e931ec28a35681ffe"]]
  5. <div id="change-d5056fb61e8332fea658363e931ec28a35681ffe" class="metadata">
  6. <span class="desc"><br />Changed pages:</span>
  7. <span class="pagelinks">
  8. <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>
  9. </span>
  10. <span class="desc"><br />Changed by:</span>
  11. <span class="committer">
  12. <a href="http://ikiwiki.info/ikiwiki.cgi?page=users%2Fjoey&amp;do=goto" rel="nofollow">joey</a>
  13. </span>
  14. <span class="desc"><br />Commit type:</span>
  15. <span class="committype">git</span>
  16. <span class="desc"><br />Date:</span>
  17. <span class="changedate"><span class="relativedate" title="Fri, 12 Nov 2010 00:24:33 -0400">00:24:33 11/12/10</span></span>
  18. <span class="desc"><br /></span>
  19. </div>
  20. <span class="revert">
  21. <a href="http://ikiwiki.info/ikiwiki.cgi?rev=d5056fb61e8332fea658363e931ec28a35681ffe&amp;do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
  22. </span>
  23. <div class="changelog">
  24. add example of skipping blog posts while scrubbing comments<br />
  25. </div>
  26. <div class="diff">
  27. <pre>
  28. diff --git a/doc/plugins/htmlscrubber.mdwn b/doc/plugins/htmlscrubber.mdwn
  29. index c59b46e..080575c 100644
  30. --- a/doc/plugins/htmlscrubber.mdwn
  31. +++ b/doc/plugins/htmlscrubber.mdwn
  32. @@ -32,10 +32,11 @@ other HTML-related functionality, such as whether &#91;&#91;meta&#93;&#93; allows
  33. potentially unsafe HTML tags.
  34. The `htmlscrubber_skip` configuration setting can be used to skip scrubbing
  35. -of some pages. Set it to a &#91;&#91;ikiwiki/PageSpec&#93;&#93;, such as &quot;!*/Discussion&quot;,
  36. -and pages matching that can have all the evil CSS, JavsScript, and unsafe
  37. -html elements you like. One safe way to use this is to use &#91;&#91;lockedit&#93;&#93; to
  38. -lock those pages, so only admins can edit them.
  39. +of some pages. Set it to a &#91;&#91;ikiwiki/PageSpec&#93;&#93;, such as
  40. +&quot;posts/* and !comment(*) and !*/Discussion&quot;, and pages matching that can have
  41. +all the evil CSS, JavsScript, and unsafe html elements you like. One safe
  42. +way to use this is to use &#91;&#91;lockedit&#93;&#93; to lock those pages, so only admins
  43. +can edit them.
  44. ----
  45. </pre>
  46. </div>
  47. <!-- d5056fb61e8332fea658363e931ec28a35681ffe -->