Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: cms/converters.py

Issue 29331049: Issue 3354 - Enable extras module for Markdown inside HTML blocks (Closed)
Patch Set: Update hidden dependency in runserver.spec Created Nov. 27, 2015, 9:08 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.md ('k') | runserver.spec » ('j') | runserver.spec » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cms/converters.py
diff --git a/cms/converters.py b/cms/converters.py
index 0ad557f94a56c721fa160eddb2ca12eb5ed056b6..0bf0558c568545f0669d5bb0efdd5df1593e5276 100644
--- a/cms/converters.py
+++ b/cms/converters.py
@@ -310,7 +310,7 @@ class MarkdownConverter(Converter):
for key, value in html_escapes.iteritems():
escapes[key] = value
- md = markdown.Markdown(output="html5", extensions=["attr_list"])
+ md = markdown.Markdown(output="html5", extensions=["extra"])
md.preprocessors["html_block"].markdown_in_raw = True
def to_html(s):
« no previous file with comments | « README.md ('k') | runserver.spec » ('j') | runserver.spec » ('J')

Powered by Google App Engine
This is Rietveld