markdown-textwrap

text wrap markdown documents
git clone git://git.ricketyspace.net/markdown-textwrap.git
Log | Files | Refs

commit 3064d6854750a4e20005b9a376bce6d144752d8f
parent eb1ff55febcc0ab79fa71b9b6cbf060cd8b12880
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon,  5 Mar 2018 02:30:39 +0000

md_tw.py: Update TWBlockLexer.parse_def_footnotes.

* md_tw.py (TWBlockLexer)[parse_def_footnotes]: Don't keyify key.

Diffstat:
md_tw.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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