fix attachment_image

This commit is contained in:
Elan Ruusamäe 2012-09-17 00:44:39 +02:00
parent c0fde4625c
commit 009ad4dba5

View file

@ -79,7 +79,7 @@ class Formatter(FormatterBase):
return '{{%s|%s}}' % (url, text)
def attachment_image(self, url, **kw):
return '{{%s|}' % (url,)
return '{{%s|}}' % (url,)
def attachment_drawing(self, url, text, **kw):
return '{{%s|%s}}' % (url, text)