aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/extensions/extra.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown/extensions/extra.py')
-rw-r--r--markdown/extensions/extra.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/markdown/extensions/extra.py b/markdown/extensions/extra.py
index d1294e0..da4cb38 100644
--- a/markdown/extensions/extra.py
+++ b/markdown/extensions/extra.py
@@ -59,9 +59,9 @@ class ExtraExtension(Extension):
md.registerExtensions(extensions, self.config)
# Turn on processing of markdown text within raw html
md.preprocessors['html_block'].markdown_in_raw = True
- md.parser.blockprocessors.add('markdown_block',
- MarkdownInHtmlProcessor(md.parser),
- '_begin')
+ md.parser.blockprocessors.register(
+ MarkdownInHtmlProcessor(md.parser), 'markdown_block', 105
+ )
md.parser.blockprocessors.tag_counter = -1
md.parser.blockprocessors.contain_span_tags = re.compile(
r'^(p|h[1-6]|li|dd|dt|td|th|legend|address)$', re.IGNORECASE)