diff --git a/text_dokuwiki.py b/text_dokuwiki.py index 248cda5..c0bee7c 100644 --- a/text_dokuwiki.py +++ b/text_dokuwiki.py @@ -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)