changeset 2179:e81af778f99d

fixed cleaning of edit comments
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 19 Apr 2007 09:42:17 +0200
parents 7917222e0e05
children 80fc914af5c8
files MoinMoin/logfile/editlog.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/logfile/editlog.py	Wed Jun 20 15:40:03 2007 +0200
+++ b/MoinMoin/logfile/editlog.py	Thu Apr 19 09:42:17 2007 +0200
@@ -172,8 +172,7 @@
         else:
             hostname = host
 
-        remap_chars = {u'\t': u' ', u'\r': u' ', u'\n': u' ', }
-        comment = comment.translate(remap_chars)
+        comment = wikiutil.clean_input(comment)
         user_id = request.user.valid and request.user.id or ''
 
         if self.uid_override is not None: