diff MoinMoin/formatter/__init__.py @ 2702:458e23c1349b

fix another place calling attachment_link
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 19 Aug 2007 23:33:15 +0200
parents 398af77c7ede
children ddb2d19684d7 f40ebcb38f54
line wrap: on
line diff
--- a/MoinMoin/formatter/__init__.py	Sun Aug 19 22:46:10 2007 +0200
+++ b/MoinMoin/formatter/__init__.py	Sun Aug 19 23:33:15 2007 +0200
@@ -139,7 +139,9 @@
             except IOError:
                 pass
 
-        return self.attachment_link(url, text)
+        return (self.attachment_link(1, url) +
+                self.text(text) +
+                self.attachment_link(0))
 
     def anchordef(self, name):
         return ""