Commit 08a8adb8732c5e9247e9d41a06b6190d5b602144
1 parent
8c5ceecd
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 | $string = mb_ereg_replace('"',""", $string); |
| 7 | 7 | $string = mb_ereg_replace('<',"<", $string); |
| 8 | 8 | $string = mb_ereg_replace('>',">", $string); |
| 9 | + $string = mb_ereg_replace('<br/>',"<br>", $string); | |
| 9 | 10 | return $string; |
| 10 | 11 | } |
| 11 | 12 | ... | ... |