From 4eb703116699dcc80b4564a74967a6a0cd189e15 Mon Sep 17 00:00:00 2001 From: misol Date: Mon, 12 Jan 2009 05:50:08 +0000 Subject: [PATCH] =?UTF-8?q?=EC=9E=98=EB=AA=BB=20=EA=B1=B4=EB=93=9C?= =?UTF-8?q?=EB=A6=B0=EA=B2=83=20=EB=90=98=EB=8F=8C=EB=A6=BC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5325 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/opage/opage.controller.php | 2 +- modules/opage/opage.view.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/opage/opage.controller.php b/modules/opage/opage.controller.php index 45d4c3f70..b6599c748 100644 --- a/modules/opage/opage.controller.php +++ b/modules/opage/opage.controller.php @@ -55,7 +55,7 @@ **/ function getBodyScript($content) { // 내용 추출 - preg_match('!]*)>(.*)<\/body>!is', $content, $body_buff); + preg_match('!]*)>(.*?)<\/body>!is', $content, $body_buff); $body_script = $body_buff[2]; // link, style, script등 제거 diff --git a/modules/opage/opage.view.php b/modules/opage/opage.view.php index 809ebc37a..2addbd7bc 100644 --- a/modules/opage/opage.view.php +++ b/modules/opage/opage.view.php @@ -84,7 +84,7 @@ $body_script = $oOpageController->getBodyScript($content); if(!$body_script) $body_script = $content; - return $body_script; + return $content; } /**