mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-09-23 19:27:10 +00:00
Fix: Remove nl2br() to prevent repeated <br /> tag accumulation in UI footer
Co-authored-by: DerLinkman <62480600+DerLinkman@users.noreply.github.com>
This commit is contained in:
co-authored by
DerLinkman
parent
420e9d3ac2
commit
ec714337e7
@@ -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 = [
|
$globalVariables = [
|
||||||
'mailcow_hostname' => getenv('MAILCOW_HOSTNAME'),
|
'mailcow_hostname' => getenv('MAILCOW_HOSTNAME'),
|
||||||
'mailcow_locale' => @$_SESSION['mailcow_locale'],
|
'mailcow_locale' => @$_SESSION['mailcow_locale'],
|
||||||
|
|||||||
Reference in New Issue
Block a user