From 3a61639a08b08c312130abe971652ad210e2b78d Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Thu, 9 Jul 2009 05:08:21 +0100 Subject: [svn] Make QM wikilinks work in new format, and fix cave description parser to output working wikilinks. --- utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils.py') diff --git a/utils.py b/utils.py index 1db7e0b..2c181c7 100644 --- a/utils.py +++ b/utils.py @@ -103,8 +103,8 @@ re_subs = [(re.compile(r"\]*\>(.*?)\", re.DOTALL), r"'''\1'''"), (re.compile(r"\]*\>(.*?)\", re.DOTALL), r"======\1======"), (re.compile(r"\(.*?)\", re.DOTALL), r"[subcave:\1|\2]"), #interpage link needed - (re.compile(r"\(.*?)\", re.DOTALL), r"[cavedescription:\1|\2]"), - (re.compile(r"\[\([^\s]*).*?\\]", re.DOTALL), r"![qm:\1]"), + (re.compile(r"\(.*?)\", re.DOTALL), r"[[cavedescription:\1|\2]]"), + (re.compile(r"\[\([^\s]*).*?\\]", re.DOTALL), r"[[qm:\1]]"), ] -- cgit v1.2.3