changeset 2734:f40ebcb38f54

merged main
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 19 Aug 2007 23:34:16 +0200
parents cdda42a9d8a8 (current diff) 458e23c1349b (diff)
children 83db1c30d391
files MoinMoin/formatter/__init__.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/formatter/__init__.py	Sun Aug 19 23:00:07 2007 +0200
+++ b/MoinMoin/formatter/__init__.py	Sun Aug 19 23:34:16 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 ""