*/
public function descriptionHtml(): string
{
- $html = $this->description_html ?: '<p>' . e($this->description) . '</p>';
+ $html = $this->description_html ?: '<p>' . nl2br(e($this->description)) . '</p>';
return HtmlContentFilter::removeScriptsFromHtmlString($html);
}
}