- remove ?>\n<?php and ?><?php sequences from compiled template

This commit is contained in:
Uwe.Tews
2009-10-17 03:36:47 +00:00
parent 81ebefccea
commit 402e3f4272
6 changed files with 9 additions and 6 deletions

View File

@@ -26,8 +26,8 @@ class Smarty_Internal_Compile_Debug extends Smarty_Internal_CompileBase {
$_attr = $this->_get_attributes($args);
// display debug template
$_output = "\$_smarty_tpl->smarty->loadPlugin('Smarty_Internal_Debug'); Smarty_Internal_Debug::display_debug(\$_smarty_tpl->smarty);";
return "<?php $_output ?>";
$_output = "<?php \$_smarty_tpl->smarty->loadPlugin('Smarty_Internal_Debug'); Smarty_Internal_Debug::display_debug(\$_smarty_tpl->smarty); ?>";
return $_output;
}
}