From fcb40a385d6063118e31fc2f53be1d022d2ce378 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 26 Feb 2018 00:19:30 +0000 Subject: md_tw.py: [token] def_links -> def_link * md_tw.py (TWBlockLexer)[parse_def_links]: Update method. * tests/test_md_tw.py (TWBlockLexer)[test_parse_def_link]: New test method. [test_parse_def_links]: Remove test method. --- md_tw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'md_tw.py') diff --git a/md_tw.py b/md_tw.py index 2727a10..be4f281 100644 --- a/md_tw.py +++ b/md_tw.py @@ -156,7 +156,7 @@ class TWBlockLexer(mistune.BlockLexer): 'title': m.group(3), } self.tokens.append({ - 'type': 'def_links', + 'type': 'def_link', 'text': m.group(0) }) -- cgit v1.2.3