diff --git a/lib/common.lib.php b/lib/common.lib.php index ad6ceda74..60000bbea 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -3077,7 +3077,9 @@ function get_search_string($stx) function clean_xss_tags($str, $check_entities=0, $is_remove_tags=0, $cur_str_len=0) { // space, tab('\t'), formfeed('\f'), vertical tab('\v'), newline('\n'), carriage return('\r') 를 제거한다. - $str = preg_replace('#[[:space:]]#', '', $str); + // $str = preg_replace('#[[:space:]]#', '', $str); + // tab('\t'), formfeed('\f'), vertical tab('\v'), newline('\n'), carriage return('\r') 를 제거한다. + $str = preg_replace('#[\t\f\v\n\r]#', '', $str); if( $is_remove_tags ){ $str = strip_tags($str);