Compare commits

...

2 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
ec714337e7 Fix: Remove nl2br() to prevent repeated <br /> tag accumulation in UI footer
Co-authored-by: DerLinkman <62480600+DerLinkman@users.noreply.github.com>
2025-12-15 11:25:31 +00:00
copilot-swe-agent[bot]
420e9d3ac2 Initial plan 2025-12-15 11:21:22 +00:00

View File

@@ -62,12 +62,6 @@ if ($app_links_processed){
}
}
// Workaround to get text with <br> 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'],