projects
/
geekigeeki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9849325
)
Remove legacy "``" syntax.
author
Bernie Innocenti
<bernie@codewiz.org>
Fri, 20 Nov 2009 07:46:26 +0000
(
02:46
-0500)
committer
Bernie Innocenti
<bernie@codewiz.org>
Fri, 20 Nov 2009 07:46:26 +0000
(
02:46
-0500)
geekigeeki.py
patch
|
blob
|
history
diff --git
a/geekigeeki.py
b/geekigeeki.py
index b8e4a7b31e5735cbc15f0e850dcf228f98274e0d..84cc9afa490ab574c859b4523ae124873b8e538a 100755
(executable)
--- a/
geekigeeki.py
+++ b/
geekigeeki.py
@@
-385,7
+385,6
@@
class WikiFormatter:
",,": ["sub", False],
"''": ["em", False], # LEGACY
"'''": ["b", False], # LEGACY
",,": ["sub", False],
"''": ["em", False], # LEGACY
"'''": ["b", False], # LEGACY
- "``": ["tt", False], # LEGACY
}
def _b_repl(self, word):
}
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)
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,})
| (?P<tit> \={2,6})
| (?P<br> \\\\)
| (?P<rule> ^-{3,})