요약본 추출시 htmlspecialchars 사용

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2287 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-10 01:04:51 +00:00
parent 5a11332174
commit a25d5cc602

View file

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