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

Unified Diff: cms/converters.py

Issue 5634661371871232: Issue 2134 - Support both .raw and .html file extensions for raw HTML (Closed)
Patch Set: Added comment Created March 12, 2015, 8:58 p.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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cms/converters.py
===================================================================
--- a/cms/converters.py
+++ b/cms/converters.py
@@ -330,12 +330,13 @@ class TemplateConverter(Converter):
for item in flat:
while stack[-1]["level"] >= item["level"]:
stack.pop()
stack[-1]["subitems"].append(item)
stack.append(item)
return structured
converters = {
- "raw": RawConverter,
+ "raw": RawConverter, # deprecated, will be removed soon
+ "html": RawConverter,
"md": MarkdownConverter,
"tmpl": TemplateConverter,
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld