From 96de4e1796894a5e1ce7b18a77b7a51e4e03ac31 Mon Sep 17 00:00:00 2001 From: acognet Date: Thu, 29 Jul 2021 11:52:39 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B04117=20-=20Text=20field=20display,=20too?= =?UTF-8?q?=20many=20empty=20lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/attributedef.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index 514b58b5b..9095be0ac 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -4159,7 +4159,7 @@ class AttributeText extends AttributeString $sValue = parent::GetAsHTML($sValue, $oHostObject, $bLocalize); $sValue = self::RenderWikiHtml($sValue); - return "
".str_replace("\n", "
\n", $sValue).'
'; + return "
$sValue
"; } else {