summaryrefslogtreecommitdiff
path: root/doc/plugins/write.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-04 01:24:23 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-04 01:24:23 -0400
commit1dddec0ba9f66f082f4b8349916cdb6bdb5636e3 (patch)
tree2ee6818cd5f9c896ab0de2caea677ba5a9cc18f9 /doc/plugins/write.mdwn
parent1546b48b979399eb33ce502a00b089263d7cee26 (diff)
Pass a destpage parameter to the sanitize hook.
Because the search plugin needed it, also because it's one of the few plugins that didn't already have it. I also considered adding it to htmlize, but I really cannot imagine caring what the destpage is when htmlizing. (I'll probably be poven wrong later.)
Diffstat (limited to 'doc/plugins/write.mdwn')
-rw-r--r--doc/plugins/write.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 606031cf2..35f391f7f 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -211,8 +211,8 @@ want to change the default ("page.tmpl"). Template files are looked for in
Use this to implement html sanitization or anything else that needs to
modify the body of a page after it has been fully converted to html.
-The function is passed named parameters: "page" and "content", and
-should return the sanitized content.
+The function is passed named parameters: "page", "destpage", and "content",
+and should return the sanitized content.
### format