문서 요약본에  가 공백으로 나오도록 치환구 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2777 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-10-15 11:08:46 +00:00
parent a3449e1579
commit 19428d73fa

View file

@ -213,7 +213,7 @@
}
function getSummary($str_size = 50) {
$content = htmlspecialchars(strip_tags($this->getContent()));
$content = htmlspecialchars(strip_tags(str_replace(" "," ",$this->getContent())));
return cut_str($content, $str_size, '...');
}