summaryrefslogtreecommitdiff
path: root/markdown
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2019-03-07 18:44:43 -0500
committerWaylan Limberg <waylan.limberg@icloud.com>2019-03-07 18:44:43 -0500
commit3cb7a64d7bb236fc22323130984047bc8150f2c7 (patch)
tree6c5378fef88fe6139f040422eafb0f1c42e98c35 /markdown
parent4be8c58b8867425ca68d16e7bf1a58116685f6af (diff)
downloadpython-markdown-3cb7a64d7bb236fc22323130984047bc8150f2c7.tar.gz
Disable markdown=1 in extra for now.
Diffstat (limited to 'markdown')
-rw-r--r--markdown/extensions/extra.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/markdown/extensions/extra.py b/markdown/extensions/extra.py
index 912858d..3b8fc2f 100644
--- a/markdown/extensions/extra.py
+++ b/markdown/extensions/extra.py
@@ -57,13 +57,13 @@ class ExtraExtension(Extension):
""" Register extension instances. """
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.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)
+ # TODO: address this: md.preprocessors['html_block'].markdown_in_raw = True
+ # 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)
def makeExtension(**kwargs): # pragma: no cover