summaryrefslogtreecommitdiffstats
path: root/md_tw.py
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-01-02 00:29:15 +0000
committerrsiddharth <s@ricketyspace.net>2018-01-02 00:29:15 +0000
commit6bc1aeb370ab33bbfa2dbece6d85fc22c198fdcd (patch)
treeb5c209207d6c1270473a1165a6a51558afce2610 /md_tw.py
parent1c94dfabe07400c5b6991f2f4a3a46340a9cc3bd (diff)
md_tw: Update `TWBlockLexer.__init__`.
* md_tw.py (__init__): Remove default_rules. * tests/test_md_tw.py (test_default_rules_contents): Remove method.
Diffstat (limited to 'md_tw.py')
-rw-r--r--md_tw.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/md_tw.py b/md_tw.py
index c9c70c1..bd9d991 100644
--- a/md_tw.py
+++ b/md_tw.py
@@ -29,7 +29,6 @@ class TWBlockLexer(mistune.BlockLexer):
def __init__(self, rules=None, **kwargs):
super(TWBlockLexer, self).__init__(rules, **kwargs)
- self.default_rules = ['paragraph', 'text']
class TWInlineLexer(mistune.InlineLexer):