From ec714337e79ab83afdd860f0687b871c14b0cebe Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 15 Dec 2025 11:25:31 +0000 Subject: [PATCH] Fix: Remove nl2br() to prevent repeated
tag accumulation in UI footer Co-authored-by: DerLinkman <62480600+DerLinkman@users.noreply.github.com> --- data/web/inc/header.inc.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/data/web/inc/header.inc.php b/data/web/inc/header.inc.php index d2ce6f3d0..b1f3af6a5 100644 --- a/data/web/inc/header.inc.php +++ b/data/web/inc/header.inc.php @@ -62,12 +62,6 @@ if ($app_links_processed){ } } -// Workaround to get text with
straight to twig. -// Using "nl2br" doesn't work with Twig as it would escape everything by default. -if (isset($UI_TEXTS["ui_footer"])) { - $UI_TEXTS["ui_footer"] = nl2br($UI_TEXTS["ui_footer"]); -} - $globalVariables = [ 'mailcow_hostname' => getenv('MAILCOW_HOSTNAME'), 'mailcow_locale' => @$_SESSION['mailcow_locale'],