git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3870 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2008-02-27 22:34:12 +00:00
parent 5aef2c7291
commit e98c860859
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@
$content = str_replace(array('&lt;','&gt;','&quot;','&nbsp;'), array('<','>','"',' '), $content);
// 문자열을 자름
$content = cut_str($content, $str_size, '...');
$content = trim(cut_str($content, $str_size, '...'));
// >, <, "를 다시 복구
return str_replace(array('<','>','"',' '),array('&lt;','&gt;','&quot;','&nbsp;'), $content);