summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-03-05 02:30:39 +0000
committerrsiddharth <s@ricketyspace.net>2018-03-05 02:30:39 +0000
commit3064d6854750a4e20005b9a376bce6d144752d8f (patch)
tree32ba6f529c3f906ee2981e91a0bc1253a9a5360e
parenteb1ff55febcc0ab79fa71b9b6cbf060cd8b12880 (diff)
md_tw.py: Update TWBlockLexer.parse_def_footnotes.
* md_tw.py (TWBlockLexer)[parse_def_footnotes]: Don't keyify key.
-rw-r--r--md_tw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/md_tw.py b/md_tw.py
index b6e1160..ca12027 100644
--- a/md_tw.py
+++ b/md_tw.py
@@ -161,7 +161,7 @@ class TWBlockLexer(mistune.BlockLexer):
})
def parse_def_footnotes(self, m):
- key = self._keyify(m.group(1))
+ key = m.group(1)
if key in self.def_footnotes:
# footnote is already defined
return