mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-22 18:04:44 +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:
parent
420e9d3ac2
commit
ec714337e7
1 changed files with 0 additions and 6 deletions
|
|
@ -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'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue