[wiki] Fix JavaScript macro so that preview and diff work
darcs-hash:20110101162826-61eff-d9b54629d19cd701cad6b1ac39b4dfc0d8d889c8.gz
This commit is contained in:
parent
f2fb1231ca
commit
40054a968b
1 changed files with 1 additions and 2 deletions
|
@ -4,6 +4,5 @@
|
|||
from MoinMoin.wikiutil import escape
|
||||
|
||||
def execute(macro, text):
|
||||
macro.request.write(
|
||||
return macro.formatter.rawHTML(
|
||||
'\n<script type="text/javascript" src="%s"></script>\n' % escape(text, 1))
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue