From ff8132ad660b6eb90344da07acb27cf4f3cd6fa7 Mon Sep 17 00:00:00 2001
From: Johannes Goderbauer <j.goderbauer@adito.de>
Date: Tue, 18 Feb 2020 10:57:38 +0000
Subject: [PATCH] Merge branch '1046801-Fix-Html-In-Desc' into '2020.0'

#1046801 - Fixed HTML in report description.

See merge request xrm/basic!118

(cherry picked from commit 217079ccbe0faefc2723e28f26d032b42acc3db8)

b68dbc20 #1046801 - Fixed HTML in report description.
09e5d6d2 #1046801 - Fixed HTML in report description.
---
 process/Organisation_lib/process.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/process/Organisation_lib/process.js b/process/Organisation_lib/process.js
index 187622e897..cc8c3aa447 100644
--- a/process/Organisation_lib/process.js
+++ b/process/Organisation_lib/process.js
@@ -155,10 +155,7 @@ OrgUtils.openOrgReport = function(pOrgId)
     {
         row[0] = datetime.toDate(row[0], dateFormat);
         // convert html to text
-        if (row[1] == $KeywordRegistry.activityCategory$mail())
-        {
-            row[4] = text.html2text(row[4]);
-        }
+        row[4] = text.html2text(row[4]);
         
         row[1] = KeywordUtils.getViewValue($KeywordRegistry.activityCategory(), row[1]);
         _joinArrayVals(row, 2, 2);
-- 
GitLab