image path correction (when comments)
authorraph
Thu, 25 Mar 2010 17:24:50 +0100
changeset 232 a6c6b046a9c0
parent 231 e71ea24ff34c
child 233 528f4267bcfa
image path correction (when comments)
src/cm/views/texts.py
--- a/src/cm/views/texts.py	Thu Mar 25 17:19:04 2010 +0100
+++ b/src/cm/views/texts.py	Thu Mar 25 17:24:50 2010 +0100
@@ -352,7 +352,7 @@
         return content_export2(request, original_content, text_version.title, original_format, format, use_pandoc, download_response)
     else : # case comments to be added  
         #comments = comments.order_by('start_wrapper','start_offset','end_wrapper','end_offset')
-        html = text_version.get_content()
+        html = pandoc_convert(original_content, original_format, 'html')
         wrapped_text_version, _ , _ = spannify(html)
         with_markers = True
         marked_content = insert_comment_markers(wrapped_text_version, comments, with_markers, with_color)