forked from extern/egroupware
replacing all possible variants of br-tag with "\n"
This commit is contained in:
parent
77099cf331
commit
9816c79b72
@ -348,8 +348,8 @@ class preferences_settings
|
|||||||
$content[$tab][] = array(
|
$content[$tab][] = array(
|
||||||
'name' => $setting['name'],
|
'name' => $setting['name'],
|
||||||
'type' => $setting['type'],
|
'type' => $setting['type'],
|
||||||
'label' => str_replace('<br>', "\n", $setting['label']),
|
'label' => preg_replace('|<br[ /]*>|i', "\n", $setting['label']),
|
||||||
'help' => str_replace('<br>', "\n", $setting['help']),
|
'help' => preg_replace('|<br[ /]*>|i', "\n", $setting['help']),
|
||||||
'size' => $setting['size'], // old eT
|
'size' => $setting['size'], // old eT
|
||||||
'default' => !empty($default) ? lang('Default').': '.$default : null,
|
'default' => !empty($default) ? lang('Default').': '.$default : null,
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user