Commit 31cf414015e34c751cc0e7498919516aac70d2ea
1 parent
f639887c
KTS-2669
"Discussion thread text rendering creates <br> tags" Fixed. Updated sanitize. Committed By:Yusuf Davids Reviewed By:Jonathan Byrne git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7793 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
0 deletions
thirdparty/Smarty/plugins/modifier.sanitize_input.php
| @@ -6,6 +6,7 @@ function smarty_modifier_sanitize_input($string, $esc_type = 'html', $charset='U | @@ -6,6 +6,7 @@ function smarty_modifier_sanitize_input($string, $esc_type = 'html', $charset='U | ||
| 6 | $string = mb_ereg_replace('"',""", $string); | 6 | $string = mb_ereg_replace('"',""", $string); |
| 7 | $string = mb_ereg_replace('<',"<", $string); | 7 | $string = mb_ereg_replace('<',"<", $string); |
| 8 | $string = mb_ereg_replace('>',">", $string); | 8 | $string = mb_ereg_replace('>',">", $string); |
| 9 | + $string = mb_ereg_replace('<br/>',"<br>", $string); | ||
| 9 | return $string; | 10 | return $string; |
| 10 | } | 11 | } |
| 11 | 12 |