N°4117 - Text field display, too many empty lines

This commit is contained in:
acognet
2021-07-29 11:52:39 +02:00
parent 44f413583c
commit 96de4e1796

View File

@@ -4159,7 +4159,7 @@ class AttributeText extends AttributeString
$sValue = parent::GetAsHTML($sValue, $oHostObject, $bLocalize);
$sValue = self::RenderWikiHtml($sValue);
return "<div $sStyle>".str_replace("\n", "<br>\n", $sValue).'</div>';
return "<div $sStyle>$sValue</div>";
}
else
{