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