# HG changeset patch # User raph # Date 1269534290 -3600 # Node ID a6c6b046a9c099e7e328287e8b2f78f104f131cb # Parent e71ea24ff34cdddd495ce61b9436b87221e6080a image path correction (when comments) diff -r e71ea24ff34c -r a6c6b046a9c0 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)