diff MoinMoin/wikiutil.py @ 1832:b180f047d918

comments only: cleaned up TODO, XXX, ...
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 25 Feb 2007 23:45:07 +0100
parents 1c3d65c8ae8f
children 0194beaf511e
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Sun Feb 25 22:51:30 2007 +0100
+++ b/MoinMoin/wikiutil.py	Sun Feb 25 23:45:07 2007 +0100
@@ -1307,7 +1307,7 @@
     def _parse_pattern(self, pattern):
         param_re = r"(%(?P<name>\(.*?\))?(?P<type>[ibfs]{1,3}))|\|"
         i = 0
-        #TODO: Optionals aren't checked
+        # TODO: Optionals aren't checked.
         self.optional = []
         named = False
         self.param_list = []
@@ -1561,7 +1561,7 @@
                 attrs += ' id="%s"' % id
             if name:
                 attrs += ' name="%s"' % name
-            tag = '<a%s href="%s/%s">' % (attrs, request.getScriptname(), params) # XXX wikiutil.escape(params) !?
+            tag = '<a%s href="%s/%s">' % (attrs, request.getScriptname(), params)
             if not on:
                 tag = "%s%s</a>" % (tag, text)
         request.log("Warning: wikiutil.link_tag called without formatter and without request.html_formatter. tag=%r" % (tag, ))