From 86bbeec8701dcf5206e86c7c95dc86fd484b5993 Mon Sep 17 00:00:00 2001 From: zero Date: Thu, 19 Jul 2007 23:42:23 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B8=80=20=EB=82=B4=EC=9A=A9=EC=97=90=20ifram?= =?UTF-8?q?e=ED=83=9C=EA=B7=B8=EA=B0=80=20=EC=9E=88=EC=9D=84=20=EA=B2=BD?= =?UTF-8?q?=EC=9A=B0=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/trunk@1963 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/document/document.item.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/document/document.item.php b/modules/document/document.item.php index d9bdb8485..49f805d72 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -124,14 +124,21 @@ if($this->isSecret() && !$this->isGranted()) return Context::getLang('msg_is_secret'); $_SESSION['accessible'][$this->document_srl] = true; - return htmlspecialchars($this->get('content')); + + + $content = $this->get('content'); + $content = preg_replace("!!is","",$content); + return htmlspecialchars($content); } function getContent() { if($this->isSecret() && !$this->isGranted()) return Context::getLang('msg_is_secret'); $_SESSION['accessible'][$this->document_srl] = true; - return sprintf('%s', $this->document_srl, $this->get('member_srl'), $this->get('content'), $this->document_srl, $this->get('member_srl')); + + $content = $this->get('content'); + $content = preg_replace("!!is","",$content); + return sprintf('%s', $this->document_srl, $this->get('member_srl'), $content, $this->document_srl, $this->get('member_srl')); } function getSummary($str_size = 50) {