N°4466 - Fix line breaks not displayed correctly

This commit is contained in:
Molkobain
2021-11-23 11:40:52 +01:00
parent 94ceb98b9e
commit c472b8ad3b

View File

@@ -4159,6 +4159,7 @@ class AttributeText extends AttributeString
{
$sValue = parent::GetAsHTML($sValue, $oHostObject, $bLocalize);
$sValue = self::RenderWikiHtml($sValue);
$sValue = nl2br($sValue);
return "<div $sStyle>$sValue</div>";
}