From d8ceaf21f6699f1391a0ec759233a27bb75e882c Mon Sep 17 00:00:00 2001 From: s2 Date: Mon, 13 Nov 2017 15:07:00 +0100 Subject: [PATCH] change format=flowed newline behaviour --- lib/mailparser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mailparser.js b/lib/mailparser.js index c9d0612..1450279 100644 --- a/lib/mailparser.js +++ b/lib/mailparser.js @@ -787,7 +787,7 @@ MailParser.prototype._handleTextLine = function(line){ if(this._currentNode.meta.textDelSp == "yes"){ this._currentNode.content = this._currentNode.content.replace(/[ ]+$/,""); } - this._currentNode.content += line; + this._currentNode.content += "\n" + line; } }else{ this._currentNode.content += "\n"+line;