From: Bernie Innocenti Date: Fri, 20 Nov 2009 07:46:26 +0000 (-0500) Subject: Remove legacy "``" syntax. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=3bf7d334ee7b20ddddb57319698f6b1df5aa6dcd;p=geekigeeki.git Remove legacy "``" syntax. --- diff --git a/geekigeeki.py b/geekigeeki.py index b8e4a7b..84cc9af 100755 --- a/geekigeeki.py +++ b/geekigeeki.py @@ -385,7 +385,6 @@ class WikiFormatter: ",,": ["sub", False], "''": ["em", False], # LEGACY "'''": ["b", False], # LEGACY - "``": ["tt", False], # LEGACY } def _b_repl(self, word): @@ -549,7 +548,7 @@ class WikiFormatter: scan_re = re.compile(r"""(?: # Styles and formatting ("--" must cling to a word to disambiguate it from the dash) - (?P \*\* | // | \#\# | __ | --\b | \b-- | \^\^ | ,, | ''' | '' | `` ) + (?P \*\* | // | \#\# | __ | --\b | \b-- | \^\^ | ,, | ''' | '' ) | (?P \={2,6}) | (?P
\\\\) | (?P ^-{3,})