From fbf59c98892ff353a0078521a6a32772f9503aab Mon Sep 17 00:00:00 2001
From: Rosanny <rosanny.sihombing@hft-stuttgart.de>
Date: Tue, 22 Mar 2022 20:03:56 +0100
Subject: [PATCH] MLAB-642: fixing the content format

---
 routes/public.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/routes/public.ts b/routes/public.ts
index 8fe48b93..9f57ad15 100644
--- a/routes/public.ts
+++ b/routes/public.ts
@@ -278,7 +278,7 @@ export = function (app:any, config:any, lang:string) {
         let inputName = req.body.name;
         let inputContent = req.body.message;
         let emailSubject = "Ihre Anfrage an das Transferportal";
-        let emailContent = "Es wurde eine Anfrage an das Transferportal gestellt: \n\n NAME: " + inputName + "\n NACHRICHT:\n "+ inputContent;
+        let emailContent = "<div>Es wurde eine Anfrage an das Transferportal gestellt: <br/><br/>NAME: " + inputName + "<br/>NACHRICHT: "+ inputContent+"</div>";
         async.waterfall([
           function(done:any) {
             // send email
-- 
GitLab