diff --git a/modules/document/document.item.php b/modules/document/document.item.php index ab03f905a..726cd9dc6 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -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, '...'); }