From 08a8adb8732c5e9247e9d41a06b6190d5b602144 Mon Sep 17 00:00:00 2001 From: Yusuf Davids Date: Fri, 7 Dec 2007 13:16:49 +0000 Subject: [PATCH] KTS-2669 "Discussion thread text rendering creates
tags" Fixed. Updated sanitize. --- thirdparty/Smarty/plugins/modifier.sanitize_input.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) 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; } -- libgit2 0.21.4