summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-02-19 05:12:53 +0000
committerrsiddharth <s@ricketyspace.net>2018-02-19 05:12:53 +0000
commit14261d29229ce1d3a7584c27a05a10cd884ee645 (patch)
tree8551a2a61f7b989cea0434814bddae9be68cff8e
parent911cd0ee97854e512ab8d8ecf5faaa92a063864e (diff)
md_tw.py: Update TWBlockLexer._process_list_item.
* md_tw.py (TWBlockLexer)[_process_list_item]: Update method.
-rw-r--r--md_tw.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/md_tw.py b/md_tw.py
index d2489f2..a292897 100644
--- a/md_tw.py
+++ b/md_tw.py
@@ -75,6 +75,7 @@ class TWBlockLexer(mistune.BlockLexer):
})
def _process_list_item(self, cap, bull):
+ # from mistune with minor changes.
cap = self.rules.list_item.findall(cap)
_next = False