diff MoinMoin/items/__init__.py @ 1199:a4ce283b0ca2

Text::_render_data_diff should return unicode in keeping it consistent with _render_data_diff_atom
author Shitiz Garg <mail@dragooon.net>
date Wed, 04 Jan 2012 03:52:32 +0530
parents 2aa4f4ec6a94
children 92d8f0777a9a
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Wed Jan 04 03:20:26 2012 +0530
+++ b/MoinMoin/items/__init__.py	Wed Jan 04 03:52:32 2012 +0530
@@ -1131,7 +1131,7 @@
         return self._get_data_diff_html(oldrev, newrev, 'diff_text_atom.html')
 
     def _render_data_diff(self, oldrev, newrev):
-        return Markup(self._get_data_diff_html(oldrev, newrev, 'diff_text.html'))
+        return self._get_data_diff_html(oldrev, newrev, 'diff_text.html')
 
     def _render_data_diff_text(self, oldrev, newrev):
         from MoinMoin.util import diff_text