From 2ab2bce53ab077e8ab89ed8c15d8496006feedb0 Mon Sep 17 00:00:00 2001 From: misol Date: Tue, 24 Mar 2009 16:01:01 +0000 Subject: [PATCH] =?UTF-8?q?#17877980=20#17862537=20=ED=85=9C=ED=94=8C?= =?UTF-8?q?=EB=A6=BF=20=ED=95=B8=EB=93=A4=EB=9F=AC=20=EC=B0=B8=EA=B3=A0?= =?UTF-8?q?=ED=95=B4=EC=84=9C=20=ED=95=B8=EB=93=A4=EB=9F=AC=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EA=B2=BD=EB=A1=9C=20=EB=B0=94=EA=BE=B8=EB=8A=94=20?= =?UTF-8?q?=EC=9D=B4=EB=AF=B8=EC=A7=80=EB=A7=8C=20=EA=B2=BD=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=ED=95=98=EA=B2=8C=20=EC=88=98=EC=A0=95.(?= =?UTF-8?q?=EC=9D=B4=EC=A0=84=EC=97=90=20=ED=85=9C=ED=94=8C=EB=A6=BF=20?= =?UTF-8?q?=ED=95=B8=EB=93=A4=EB=9F=AC=EB=A5=BC=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=ED=96=88=EC=96=B4=EC=95=BC=20=ED=95=98=EB=8A=94=20=EA=B2=83?= =?UTF-8?q?=EC=9D=80=20=EC=95=84=EB=8B=8C=EC=A7=80....=20=EC=95=84?= =?UTF-8?q?=EB=AC=B4=ED=8A=BC..=20=EC=88=98=EC=A0=95)?= 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@5957 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/context/Context.class.php | 4 ++-- config/func.inc.php | 2 +- modules/tccommentnotify/conf/module.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index 62f2df7ca..bcf73e998 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -1362,10 +1362,10 @@ $content = preg_replace_callback('!!is', array($this,'moveStyleToHeader'), $content); // 코드 변환 - $content = preg_replace('/<(img|br)([^>\/]*)(\/>|>)/i','<$1$2 />', $content); + $content = preg_replace('/<(img|br)([^>]*)(\/>|>)/i','<$1$2 />', $content); // templateHandler의 이미지 경로로 인하여 생기는 절대경로 이미지등의 경로 중복 처리 - $content = preg_replace('/src=(["|\']?)http:\/\/([^ ]+)http:\/\//is','src=$1http://', $content); + $content = preg_replace('/<(img|input)([^>]*)src=(["|\']?)http:\/\/([^ ]+)http:\/\//is','<$1$2src=$3http://', $content); return $content; } diff --git a/config/func.inc.php b/config/func.inc.php index f82024cd1..cf2f4e1ba 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -562,7 +562,7 @@ $tag = strtolower(trim($matches[1])); $buff = trim(preg_replace('/(\/>|>)/','/>',$matches[0])); - $buff = str_replace(array('&','&'),array('&','&'),$buff); + $buff = str_replace(array('&','&'),array('&','&'),$buff); $buff = preg_replace_callback('/([^=^"^ ]*)=([^ ^>]*)/i', fixQuotation, $buff); $oXmlParser = new XmlParser(); diff --git a/modules/tccommentnotify/conf/module.xml b/modules/tccommentnotify/conf/module.xml index 70c967428..3399716a7 100644 --- a/modules/tccommentnotify/conf/module.xml +++ b/modules/tccommentnotify/conf/module.xml @@ -1,4 +1,4 @@ - +