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) {