From ca3c3be4ae11d4a606cd819c700e1dd13318b8c2 Mon Sep 17 00:00:00 2001 From: bnu Date: Thu, 4 Sep 2014 19:54:01 +0900 Subject: [PATCH] =?UTF-8?q?fix=20#954=20=EC=9C=84=EC=A0=AF=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=97=90=EC=84=9C=20=EB=AA=A8=EB=B0=94?= =?UTF-8?q?=EC=9D=BC=EC=9A=A9=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=EC=9D=B4=20=EC=97=86=EC=9D=84=20=EB=95=8C=20PC?= =?UTF-8?q?=EC=9A=A9=20=EC=BD=98=ED=85=90=EC=B8=A0=EB=A5=BC=20=EA=B0=80?= =?UTF-8?q?=EC=A0=B8=EC=98=A4=EB=A9=B4=EC=84=9C=20=EC=9E=84=EC=9D=98?= =?UTF-8?q?=EC=9D=98=20CSS=EB=A5=BC=20=EC=B6=94=EA=B0=80=ED=95=98=EC=A7=80?= =?UTF-8?q?=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/page/page.mobile.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/page/page.mobile.php b/modules/page/page.mobile.php index 929c82e75..ded07abaf 100644 --- a/modules/page/page.mobile.php +++ b/modules/page/page.mobile.php @@ -84,13 +84,9 @@ class pageMobile extends pageView } else { - preg_match_all('!(]*)(widget=)([^\>]*?)(\>)!is', $this->module_info->content, $matches); - $page_content = ''; - for($i=0,$c=count($matches[0]);$i<$c;$i++) - { - $page_content .= preg_replace('/ style\=\"([^\"]+)\" /i',' style="overflow:hidden;clear:both;margin:0 0 20px 0; _margin-right:10px;" ',$matches[0][$i])."\n\n"; - } + $page_content = $this->module_info->content; } + return $page_content; }