changeset 1883:4f867b7cbfde

ImageLink:comment cleaned
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 12 Mar 2007 21:45:46 +0100
parents b5a68f95a5a3
children da6479b19bd2
files MoinMoin/macro/ImageLink.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/ImageLink.py	Mon Mar 12 20:54:08 2007 +0100
+++ b/MoinMoin/macro/ImageLink.py	Mon Mar 12 21:45:46 2007 +0100
@@ -178,7 +178,7 @@
         if target is None or _is_URL(target):
             if _is_URL(image):
                 # Get image name http://here.com/dir/image.png -> image.png
-                kw['alt'] = wikiutil.taintfilename(formatter.text(image.split('/')[-1])) # XXX
+                kw['alt'] = wikiutil.taintfilename(formatter.text(image.split('/')[-1]))
             else:
                 kw['alt'] = attname
         else: