N°2668 - Notifications - Export wrong attribut format in html

This commit is contained in:
acognet
2020-05-18 21:52:31 +02:00
parent 83e3c089a4
commit 7e69256cb4

View File

@@ -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
{