9 lines
235 B
Python
Executable file
9 lines
235 B
Python
Executable file
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from MoinMoin.wikiutil import escape
|
|
|
|
def execute(macro, text):
|
|
macro.request.write(
|
|
'\n<script type="text/javascript" src="%s"></script>\n' % escape(text, 1))
|
|
return None
|