[Moin-user] MoinMoin and Python 2.2

Juergen Hermann jh at web.de
Thu Jan 3 03:01:04 EST 2002


On Thu, 3 Jan 2002 08:28:11 +0000, Bruce.Durling at equifax.com wrote:

>Should I raise a bug in the sf.net bug tracker or is this list a better
>place to post it?

Apply this:

--- parser/wiki.py      2001/12/20 23:26:32     1.63
+++ parser/wiki.py      2002/01/03 10:58:10
@@ -622,7 +622,7 @@
     def replace(self, match):
         #hit = filter(lambda g: g[1], match.groupdict().items())
         for type, hit in match.groupdict().items():
-            if hit is not None:
+            if hit is not None and type != "hmarker":
                 ##print "###", cgi.escape(`type`), cgi.escape(`hit`), "###"
                 if self.in_pre and type not in ['pre', 'ent']:
                     return self.highlight_text(hit)


Or get the latest CVS version.


Ciao, Jürgen






More information about the Moin-user mailing list