changeset 5087:d094bbd6c7c4

action anywikidraw: comment cleanup
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 12 Sep 2009 08:33:37 +0200
parents 6910e50f3c6b
children a2a51a2ebd6e
files MoinMoin/action/anywikidraw.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/anywikidraw.py	Sat Sep 12 01:28:17 2009 +0200
+++ b/MoinMoin/action/anywikidraw.py	Sat Sep 12 08:33:37 2009 +0200
@@ -80,14 +80,11 @@
     except (KeyError, IOError, OSError):
         map = ''
     if map:
-        # XXX check how that is done by josef
+        # ToDo mapid must become uniq
         # we have a image map. inline it and add a map ref to the img tag
         mapid = 'ImageMapOf' + drawing
         map = map.replace('id="%s.svg"' % drawing, '')
         map = map.replace('name="%s.svg"' % drawing, 'name="%s"' % mapid)
-        # add alt and title tags to areas
-        #map = re.sub(r'href\s*=\s*"((?!%TWIKIDRAW%).+?)"', r'href="\1" alt="\1" title="\1"', map)
-        #map = map.replace('%TWIKIDRAW%"', '%s" alt="%s" title="%s"' % (drawing_url, title, title))
         # unxml, because 4.01 concrete will not validate />
         map = map.replace('/>', '>')
         title = _('Clickable drawing: %(filename)s') % {'filename': self.text(drawing)}