on javascript, plugins, and htmlscrubber
authorJoey Hess <joey@kitenet.net>
Mon, 17 May 2010 04:42:52 +0000 (00:42 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 17 May 2010 04:42:52 +0000 (00:42 -0400)
doc/plugins/contrib/flattr/discussion.mdwn [new file with mode: 0644]

diff --git a/doc/plugins/contrib/flattr/discussion.mdwn b/doc/plugins/contrib/flattr/discussion.mdwn
new file mode 100644 (file)
index 0000000..98b7771
--- /dev/null
@@ -0,0 +1,4 @@
+FWIW, it is possible for a plugin like this to add javascript to pages that
+are protected by htmlscrubber. Just return a token in your preprocess hook,
+and then have a format hook that replaces the token with the javascript.
+--[[Joey]]