From 8123d266a3db448e56e8f3b1c3d3ea9eead1c2f1 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Tue, 12 Aug 2008 11:40:14 +0000 Subject: [PATCH] Split and join after by the same character, in order to keep the same rendering. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22970 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/EmailDocument.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/EmailDocument.py b/product/ERP5/Document/EmailDocument.py index a87632203c..dc009b92c1 100644 --- a/product/ERP5/Document/EmailDocument.py +++ b/product/ERP5/Document/EmailDocument.py @@ -407,7 +407,7 @@ class EmailDocument(File, TextDocument): line = line.strip() if line: new_text_list.append(line) - clean_text = ''.join(new_text_list) + clean_text = '\n'.join(new_text_list) return clean_text security.declareProtected(Permissions.AccessContentsInformation, 'getReplySubject') -- 2.30.9