aboutsummaryrefslogtreecommitdiff
path: root/www/moinmoin/files
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2002-01-10 15:22:14 +0000
committerKevin Lo <kevlo@FreeBSD.org>2002-01-10 15:22:14 +0000
commitaa1d810e2f9aed9c0d14646d9317933313c18514 (patch)
treee1c204f6a562f74272f3173cec713c85523b1cf4 /www/moinmoin/files
parenta1ec5ec39ccb6a623a98f64dbfdd763f0e582026 (diff)
downloadports-aa1d810e2f9aed9c0d14646d9317933313c18514.tar.gz
ports-aa1d810e2f9aed9c0d14646d9317933313c18514.zip
Notes
Diffstat (limited to 'www/moinmoin/files')
-rw-r--r--www/moinmoin/files/patch-MoinMoin::parser::wiki.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/moinmoin/files/patch-MoinMoin::parser::wiki.py b/www/moinmoin/files/patch-MoinMoin::parser::wiki.py
new file mode 100644
index 000000000000..91bc343ba18f
--- /dev/null
+++ b/www/moinmoin/files/patch-MoinMoin::parser::wiki.py
@@ -0,0 +1,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)