changeset 3039:744c46c1f869

fix regular diff view, escaping before text formatting is wrong (port from 1.6)
author Johannes Berg <johannes AT sipsolutions DOT net>
date Mon, 04 Feb 2008 10:17:58 +0100
parents 07ab9d4b8bb8
children 8608b258f8e6
files MoinMoin/action/diff.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/diff.py	Sun Feb 03 21:55:18 2008 +0100
+++ b/MoinMoin/action/diff.py	Mon Feb 04 10:17:58 2008 +0100
@@ -133,7 +133,7 @@
             for line in lines:
                 if line[0] == "@":
                     request.write(f.rule(1))
-                request.write(f.text(wikiutil.escape(line)+'\n'))
+                request.write(f.text(line + '\n'))
             request.write(f.preformatted(0))
 
     request.write(f.div(0)) # end content div