diff -r 3ee97f4fd0aa -r 0cf1d1fc084c src/cm/views/texts.py --- a/src/cm/views/texts.py Tue Aug 03 18:34:14 2010 +0200 +++ b/src/cm/views/texts.py Thu Aug 19 13:19:24 2010 +0200 @@ -564,7 +564,7 @@ """ gen = unified_diff(text1.split('\n'), text2.split('\n'), n=3) index = 0 - res = [''] + res = ['
'] res.append('' %(title1, title2)) res.append('' %(author1, author2)) res.append('') @@ -603,7 +603,7 @@ p = dif.diff_prettyHtml_one_way(res_diff1, 1) minus = dif.diff_prettyHtml_one_way(res_diff1, 2) plus = p - res.append('' % (minus, plus)) + res.append('' % (minus, plus)) index += 1 res.append('
%s%s
%s%s
-%s+%s
-
%s
+
%s
')