From 541cb5244d2d1d2bdd3a36e444eefae4df9a0b92 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 14 Oct 2014 09:02:38 +0900 Subject: [PATCH] =?UTF-8?q?get=5Feditor=5Fimage=20=ED=95=A8=EC=88=98?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EB=8C=80=EC=86=8C=EB=AC=B8=EC=9E=90=20?= =?UTF-8?q?=EA=B5=AC=EB=B6=84=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 4bd59b75e..f14f81dae 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2045,7 +2045,7 @@ function get_editor_image($contents, $view=true) if ($view) $pattern = "/]*)>/iS"; else - $pattern = "/]*src=[\'\"]?([^>\'\"]+[^>\'\"]+)[\'\"]?[^>]*>/"; + $pattern = "/]*src=[\'\"]?([^>\'\"]+[^>\'\"]+)[\'\"]?[^>]*>/i"; preg_match_all($pattern, $contents, $matchs); return $matchs;