From e98c8608591c0eddad38843d97c7e40bb6e8a3bb Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 27 Feb 2008 22:34:12 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3870 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/comment/comment.item.php | 2 +- modules/document/document.item.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/comment/comment.item.php b/modules/comment/comment.item.php index fbca8d828..8d6941dc8 100644 --- a/modules/comment/comment.item.php +++ b/modules/comment/comment.item.php @@ -207,7 +207,7 @@ $content = str_replace(array('<','>','"',' '), array('<','>','"',' '), $content); // 문자열을 자름 - $content = cut_str($content, $str_size, '...'); + $content = trim(cut_str($content, $str_size, '...')); // >, <, "를 다시 복구 return str_replace(array('<','>','"',' '),array('<','>','"',' '), $content); diff --git a/modules/document/document.item.php b/modules/document/document.item.php index 3b5f6d02d..47b921132 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -284,7 +284,7 @@ $content = str_replace(array('<','>','"',' '), array('<','>','"',' '), $content); // 문자열을 자름 - $content = cut_str($content, $str_size, '...'); + $content = trim(cut_str($content, $str_size, '...')); // >, <, "를 다시 복구 return str_replace(array('<','>','"',' '),array('<','>','"',' '), $content);