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: Created March 12, 2015, 7:43 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
@@ -331,11 +331,12 @@ class TemplateConverter(Converter):
while stack[-1]["level"] >= item["level"]:
stack.pop()
stack[-1]["subitems"].append(item)
stack.append(item)
return structured
converters = {
"raw": RawConverter,
Sebastian Noack 2015/03/12 20:05:10 Should you remove the old extension?
Wladimir Palant 2015/03/12 20:46:28 As I said in the issue description - we have repos
Sebastian Noack 2015/03/12 20:48:09 Sorry, too late, but please add a comment above th
Wladimir Palant 2015/03/12 20:59:11 Done.
+ "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