r7111 추가 comment에서 영문개행문자 dash(-) 제거

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7251 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2010-01-27 08:20:26 +00:00
parent a2fbf06aa3
commit ac94afb660

View file

@ -252,9 +252,6 @@
// >, <, "를 다시 복구
$content = str_replace(array('<','>','"'),array('&lt;','&gt;','&quot;'), $content);
// 영문이 연결될 경우 개행이 안 되는 문제를 해결
$content = preg_replace('/([a-z0-9\+:\/\.\~,\|\!\@\#\$\%\^\&\*\(\)\_]){20}/is',"$0-",$content);
return $content;
}