summaryrefslogtreecommitdiff
path: root/www/moinmoin/files/patch-MoinMoin::parser::wiki.py
blob: 91bc343ba18f29d32d66710976612c2e6afdbfd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- MoinMoin/parser/wiki.py.orig	Wed Jan  9 21:20:17 2002
+++ MoinMoin/parser/wiki.py	Wed Jan  9 21:22:55 2002
@@ -388,7 +388,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)