diff --git a/thirdparty/Smarty/plugins/modifier.sanitize_input.php b/thirdparty/Smarty/plugins/modifier.sanitize_input.php index 5623e84..33bbd95 100644 --- a/thirdparty/Smarty/plugins/modifier.sanitize_input.php +++ b/thirdparty/Smarty/plugins/modifier.sanitize_input.php @@ -6,6 +6,7 @@ function smarty_modifier_sanitize_input($string, $esc_type = 'html', $charset='U $string = mb_ereg_replace('"',""", $string); $string = mb_ereg_replace('<',"<", $string); $string = mb_ereg_replace('>',">", $string); + $string = mb_ereg_replace('<br/>',"
", $string); return $string; }