on javascript, plugins, and htmlscrubber

master
Joey Hess 2010-05-17 00:42:52 -04:00
parent f2304367f6
commit 7cae295124
1 changed files with 4 additions and 0 deletions

View File

@ -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]]