Commit 8123d266 authored by Romain Courteaud's avatar Romain Courteaud

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
parent 10c674e7
...@@ -407,7 +407,7 @@ class EmailDocument(File, TextDocument): ...@@ -407,7 +407,7 @@ class EmailDocument(File, TextDocument):
line = line.strip() line = line.strip()
if line: if line:
new_text_list.append(line) new_text_list.append(line)
clean_text = ''.join(new_text_list) clean_text = '\n'.join(new_text_list)
return clean_text return clean_text
security.declareProtected(Permissions.AccessContentsInformation, 'getReplySubject') security.declareProtected(Permissions.AccessContentsInformation, 'getReplySubject')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment