diff options
Diffstat (limited to 'web-ui/app/js/services/model')
-rw-r--r-- | web-ui/app/js/services/model/mail.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/services/model/mail.js b/web-ui/app/js/services/model/mail.js index 89095948..9d1e8711 100644 --- a/web-ui/app/js/services/model/mail.js +++ b/web-ui/app/js/services/model/mail.js @@ -84,7 +84,7 @@ define(['helpers/contenttype'], headerLines = lines.slice(0, endOfHeaders); headers = _.map(headerLines, function (headerLine) { - return headerLine.split(': '); + return _.map(headerLine.split(':'), function(elem){return elem.trim()}); }); return _.object(headers); |