summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui')
-rw-r--r--web-ui/app/js/helpers/view_helper.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/web-ui/app/js/helpers/view_helper.js b/web-ui/app/js/helpers/view_helper.js
index 83de4464..7173d8be 100644
--- a/web-ui/app/js/helpers/view_helper.js
+++ b/web-ui/app/js/helpers/view_helper.js
@@ -90,11 +90,7 @@ define(
}
function quoteMail(mail) {
- var quotedLines = _.map(mail.textPlainBody.split('\n'), function (line) {
- return '> ' + line;
- });
-
- return '\n\n' + quotedLines.join('\n');
+ return '\n\n' + mail.textPlainBody.replace(/^/mg, '> ');
}
function i18n(text) {