From a5d959deb8ebb1fa2904e98fa37e7af1835ccd6f Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 9 Mar 2020 16:52:08 +0900 Subject: [PATCH] =?UTF-8?q?html=5Fprocess=20=ED=81=B4=EB=9E=98=EC=8A=A4=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=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 7fe2d53ae..a2457e008 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2594,7 +2594,7 @@ class html_process { if(!trim($js[1])) continue; - $js[1] = preg_replace('#\.js([\'\"]?>)$#i', '.js?ver='.G5_JS_VER.'$1', $js[1]); + $js[1] = preg_replace('#\.js([\'\"]?>)<\/script>$#i', '.js?ver='.G5_JS_VER.'$1', $js[1]); $javascript .= $php_eol.$js[1]; $php_eol = PHP_EOL;