From 3064d6854750a4e20005b9a376bce6d144752d8f Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 5 Mar 2018 02:30:39 +0000 Subject: md_tw.py: Update TWBlockLexer.parse_def_footnotes. * md_tw.py (TWBlockLexer)[parse_def_footnotes]: Don't keyify key. --- md_tw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3