diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index 105b37a916..816dced760 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -348,8 +348,8 @@ class preferences_settings $content[$tab][] = array( 'name' => $setting['name'], 'type' => $setting['type'], - 'label' => str_replace('
', "\n", $setting['label']), - 'help' => str_replace('
', "\n", $setting['help']), + 'label' => preg_replace('||i', "\n", $setting['label']), + 'help' => preg_replace('||i', "\n", $setting['help']), 'size' => $setting['size'], // old eT 'default' => !empty($default) ? lang('Default').': '.$default : null, );