From f2682692a13d3d7b671577bb0fa1b2b741908fc5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Fri, 19 May 2006 08:39:02 +0000 Subject: [PATCH] fix bold git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@2725 069f4177-920e-0410-937b-c2a4a81bcd90 --- www/pt2html.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/pt2html.py b/www/pt2html.py index abc20359..97cd27f5 100755 --- a/www/pt2html.py +++ b/www/pt2html.py @@ -72,8 +72,8 @@ class MakeHtml: parpattern = re.compile(r"([ \t]*\n)*(?P(\S[^\n]*\n)+)(([ \t]*\n)+.*)?") parmakeline = re.compile(r"\s*[\r\n]\s*") parmakeinline = re.compile(r"`(.*?)`") - parmakeitalic = re.compile(r"''(.*?)''") parmakebold = re.compile(r"'''(.*?)'''") + parmakeitalic = re.compile(r"''(.*?)''") parmakeref = re.compile(r"\[([^]]*)\s([^\s]*)\]") codepattern = re.compile(r"([ \t]*\n)*(?P(([ \t]+[^\n]*)?\n)+)") indentpattern = re.compile(r"([ \t]*\n)*(?P[ \t]+)") @@ -94,8 +94,8 @@ class MakeHtml: par = par.replace("\"", """) par = self.parmakeline.subn(" ", par)[0] par = self.parmakeinline.subn(r"\1", par)[0] - par = self.parmakeitalic.subn(r"\1", par)[0] par = self.parmakebold.subn(r"\1", par)[0] + par = self.parmakeitalic.subn(r"\1", par)[0] par = self.parmakeref.subn(r'\1', par)[0] if not title: title = par -- 2.11.4.GIT