From 009ad4dba56589caa73edee161cc1094e735a6b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 17 Sep 2012 00:44:39 +0200 Subject: [PATCH] fix attachment_image --- text_dokuwiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)