From d33051cb7236a930c1baf879fee75e92c35a93ee Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 21 Jan 2016 15:10:02 +0100 Subject: update to Smarty 3.1.29 --- include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php') diff --git a/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php b/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php index 21e6e5221..ce6749770 100644 --- a/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php +++ b/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php @@ -89,6 +89,6 @@ class Smarty_Internal_Runtime_CodeFrame $output .= $functions; $output .= "[\n]?<\?php\s*/', "\n", $output); + return preg_replace(array('/\s*\?>[\n]?<\?php\s*/', '/\?>\s*$/'), array("\n", ''), $output); } } \ No newline at end of file -- cgit v1.2.3