Remove legacy "``" syntax.
authorBernie Innocenti <bernie@codewiz.org>
Fri, 20 Nov 2009 07:46:26 +0000 (02:46 -0500)
committerBernie Innocenti <bernie@codewiz.org>
Fri, 20 Nov 2009 07:46:26 +0000 (02:46 -0500)
geekigeeki.py

index b8e4a7b31e5735cbc15f0e850dcf228f98274e0d..84cc9afa490ab574c859b4523ae124873b8e538a 100755 (executable)
@@ -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 | \b-- | \^\^ | ,, | ''' | '' | `` )
+              (?P<b>     \*\* | // | \#\# | __ | --\b | \b-- | \^\^ | ,, | ''' | '' )
             | (?P<tit>   \={2,6})
             | (?P<br>    \\\\)
             | (?P<rule>  ^-{3,})