aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/htmlscrubber.mdwn
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-07-21 12:31:57 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-07-21 12:31:57 +0100
commit297ff849b93e5a75074e321fe65500f0e091601c (patch)
tree516057b289dd47dbb9c5b48c17fee8e4dfdafa40 /doc/plugins/htmlscrubber.mdwn
parentdd87d82fbe2bf09abe634caef044474d5b24502e (diff)
downloadikiwiki-297ff849b93e5a75074e321fe65500f0e091601c.tar
ikiwiki-297ff849b93e5a75074e321fe65500f0e091601c.tar.gz
Migrate doc/plugins via prefix_directives
This is a partial commit of: egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition prefix_directives
Diffstat (limited to 'doc/plugins/htmlscrubber.mdwn')
-rw-r--r--doc/plugins/htmlscrubber.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/plugins/htmlscrubber.mdwn b/doc/plugins/htmlscrubber.mdwn
index b32c264df..b651ffc99 100644
--- a/doc/plugins/htmlscrubber.mdwn
+++ b/doc/plugins/htmlscrubber.mdwn
@@ -1,5 +1,5 @@
-[[template id=plugin name=htmlscrubber core=1 author="[[Joey]]"]]
-[[tag type/html]]
+[[!template id=plugin name=htmlscrubber core=1 author="[[Joey]]"]]
+[[!tag type/html]]
This plugin is enabled by default. It sanitizes the html on pages it renders
to avoid XSS attacks and the like.
@@ -13,7 +13,7 @@ All attributes that can be used to specify an url are checked to make sure
that the url is in a known, safe scheme, and to block embedded javascript
in such urls.
-It uses the [[cpan HTML::Scrubber]] perl module to perform its html
+It uses the [[!cpan HTML::Scrubber]] perl module to perform its html
sanitisation, and this perl module also deals with various entity encoding
tricks.