From ddc2dc33fd321d8064bf01179e94470661dae5fb Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Mon, 22 Jul 2024 10:19:02 +0200 Subject: [PATCH] Update mailHelper.ts --- src/Frontend/src/helpers/mailHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Frontend/src/helpers/mailHelper.ts b/src/Frontend/src/helpers/mailHelper.ts index 63b7408..682d8db 100644 --- a/src/Frontend/src/helpers/mailHelper.ts +++ b/src/Frontend/src/helpers/mailHelper.ts @@ -178,7 +178,7 @@ function splitMailHeader (mailRaw : string) : HeaderDetails[] | undefined { if (/^\s/.test(line)) { // Line is a continuation of the previous header field - currentLine += line + currentLine += ' ' + line.trim() } else { // Line is a new header field if (currentLine) {