From a18e54837bf5380f1d63d5ab3800b43cdcf86928 Mon Sep 17 00:00:00 2001 From: bnu Date: Wed, 10 Oct 2018 14:35:10 +0900 Subject: [PATCH] =?UTF-8?q?#2301=20=ED=85=9C=ED=94=8C=EB=A6=BF=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EC=82=BC=ED=95=AD=EC=8B=9D=20=EC=82=AC=EC=9A=A9=20?= =?UTF-8?q?=EC=8B=9C=20=EB=AC=B8=EC=A0=9C=20=EA=B3=A0=EC=B9=A8=20-=20@kiji?= =?UTF-8?q?n=20=EA=B0=90=EC=82=AC=ED=95=A9=EB=8B=88=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/template/TemplateHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/template/TemplateHandler.class.php b/classes/template/TemplateHandler.class.php index d14eff4356..a5532b7bcc 100644 --- a/classes/template/TemplateHandler.class.php +++ b/classes/template/TemplateHandler.class.php @@ -995,7 +995,7 @@ private function _applyEscapeOption($str, $escape_option = 'noescape') return "escape({$str}, false)"; case 'auto': default: - return "(\$this->config->autoescape === 'on' ? escape({$str}, false) : {$str})"; + return "(\$this->config->autoescape === 'on' ? escape({$str}, false) : ({$str}))"; } }