comparison MoinMoin/action/AttachFile.py @ 3253:ba0707fe183d

EmbedObject: fixed some variable names, and escaping of target in AttachFile
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 14 Mar 2008 15:46:27 +0100
parents 0f582c5d2b9f
children f62792cb2d24 e06e15e90ba7
comparison
equal deleted inserted replaced
3251:ecbde828b812 3253:ba0707fe183d
1005 fmt.text(filename) + 1005 fmt.text(filename) +
1006 fmt.url(0)) 1006 fmt.url(0))
1007 request.write('For using an external program follow this link %s' % link) 1007 request.write('For using an external program follow this link %s' % link)
1008 return 1008 return
1009 1009
1010 request.write(EmbedObject.macro_EmbedObject(macro, wikiutil.escape(filename), pagename=pagename)) 1010 request.write(EmbedObject.macro_EmbedObject(macro, filename, pagename=pagename))
1011 return 1011 return
1012 1012
1013 1013
1014 def _do_view(pagename, request): 1014 def _do_view(pagename, request):
1015 _ = request.getText 1015 _ = request.getText