From b68dbc20398b54f7dbed9fdd12b2b03800a0eb12 Mon Sep 17 00:00:00 2001 From: daniel <daniel@localhost> Date: Mon, 3 Feb 2020 11:12:34 +0100 Subject: [PATCH] #1046801 - Fixed HTML in report description. --- process/Organisation_lib/process.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/process/Organisation_lib/process.js b/process/Organisation_lib/process.js index 187622e897..a8e5c8facf 100644 --- a/process/Organisation_lib/process.js +++ b/process/Organisation_lib/process.js @@ -149,6 +149,10 @@ OrgUtils.openOrgReport = function(pOrgId) .where("CONTACT.ORGANISATION_ID", pOrgId) //= all activities linked to the organization or an employee .orderBy("ENTRYDATE desc") .table(); + + var infoAsHtml = histData[0][4]; + var infoWithoutHtml = text.html2text(infoAsHtml); + histData[0][4] = infoWithoutHtml; var dateFormat = translate.text("dd.MM.yyyy"); histData.forEach(function (row) -- GitLab