diff options
Diffstat (limited to 'md_tw.py')
-rw-r--r-- | md_tw.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -201,6 +201,12 @@ class TWBlockLexer(mistune.BlockLexer): 'spaces': spaces }) + def parse_block_html(self, m): + self.tokens.append({ + 'type': 'block_html', + 'text': m.group(0) + }) + class TWInlineLexer(mistune.InlineLexer): """Text Wrap Inline level lexer for inline gramars.""" |