--- a/src/cm/converters/__init__.py Tue Apr 20 10:47:42 2010 +0200
+++ b/src/cm/converters/__init__.py Tue Apr 20 11:14:21 2010 +0200
@@ -26,8 +26,8 @@
if format == 'html':
_not_used_css, converted_input = extract_css_body(xhtml_input)
#converted_input = xhtml_input
- else:
- converted_input = pandoc_convert(html_input, 'html', format)
+
+ converted_input = pandoc_convert(html_input, 'html', format)
##############################
# latex
@@ -44,8 +44,8 @@
elif mime_type in ['text/html', 'application/xhtml+xml']:
if format == 'html':
converted_input = input
- else:
- converted_input = pandoc_convert(input, 'html', format)
+
+ converted_input = pandoc_convert(input, 'html', format)
##############################
# anything looks like text -> markdown
elif mime_type in ['text/plain',