summaryrefslogtreecommitdiffstats
path: root/md_tw.py
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-02-26 00:19:30 +0000
committerrsiddharth <s@ricketyspace.net>2018-02-26 00:19:30 +0000
commitfcb40a385d6063118e31fc2f53be1d022d2ce378 (patch)
tree3842156c485dda44695debff9222ce9eaa12b12b /md_tw.py
parent98dde38a414d56480dd568de4050bab88ed4b863 (diff)
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.
Diffstat (limited to 'md_tw.py')
-rw-r--r--md_tw.py2
1 files changed, 1 insertions, 1 deletions
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)
})