From 9cb9ccca0b4c36c4c8f3ef56b831c464ab6fac75 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 12 Sep 2024 03:17:22 +0200 Subject: [PATCH] Debug v20 - Fix regression --- htdocs/website/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index db035af16e1..82482888d61 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -3981,7 +3981,7 @@ if ($action == 'editcss') { print ''; print $langs->trans('WEBSITE_HTML_HEADER'); $htmlhelp = $langs->trans("Example").' :
'; - $htmlhelp .= dol_htmlentitiesbr($htmlheadercontentdefault); + $htmlhelp .= dol_nl2br(dol_htmlentities($htmlheadercontentdefault)); // do not use dol_htmlentitiesbr here, $htmlheadercontentdefault is HTML with content like and