From 9816c79b728fa3c533d6281526925450e011f44d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 9 May 2013 09:45:37 +0000 Subject: [PATCH] replacing all possible variants of br-tag with "\n" --- preferences/inc/class.preferences_settings.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, );