From 7e69256cb4cd10e9d2156d7aaf02e97a1ff3c856 Mon Sep 17 00:00:00 2001 From: acognet Date: Mon, 18 May 2020 21:52:31 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02668=20-=20Notifications=20-=20Export=20?= =?UTF-8?q?wrong=20attribut=20format=20in=20html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/excelbulkexport.class.inc.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/excelbulkexport.class.inc.php b/core/excelbulkexport.class.inc.php index f19de3f0a..6717adfbb 100644 --- a/core/excelbulkexport.class.inc.php +++ b/core/excelbulkexport.class.inc.php @@ -216,7 +216,14 @@ EOF } else if (array_key_exists('formatted_text', $this->aStatusInfo) && $this->aStatusInfo['formatted_text']) { - $sRet = $oAttDef->GetEditValue($value, $oObj); + if ($oAttDef instanceof AttributeText && $oAttDef->GetFormat()=='html') + { + $sRet = str_replace(">", ">", $value); + } + else + { + $sRet = $oAttDef->GetEditValue($value, $oObj); + } } else {