##// END OF EJS Templates
fix for mistume 0.5...
Bussonnier Matthias -
Show More
@@ -77,7 +77,7 b' class MathBlockGrammar(mistune.BlockGrammar):'
77 77
78 78 @undoc
79 79 class MathBlockLexer(mistune.BlockLexer):
80 default_features = ['block_math', 'latex_environment'] + mistune.BlockLexer.default_features
80 default_rules = ['block_math', 'latex_environment'] + mistune.BlockLexer.default_rules
81 81
82 82 def __init__(self, rules=None, **kwargs):
83 83 if rules is None:
@@ -105,7 +105,7 b' class MathInlineGrammar(mistune.InlineGrammar):'
105 105
106 106 @undoc
107 107 class MathInlineLexer(mistune.InlineLexer):
108 default_features = ['math'] + mistune.InlineLexer.default_features
108 default_rules = ['math'] + mistune.InlineLexer.default_rules
109 109
110 110 def __init__(self, renderer, rules=None, **kwargs):
111 111 if rules is None:
General Comments 0
You need to be logged in to leave comments. Login now