mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14:26 +02:00
- bugfix Smarty::$php_handling == PHP_PASSTHRU (default) did eat the "\n" (newline) character if it did directly followed
a PHP tag like "?>" or other https://github.com/smarty-php/smarty/issues/501
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
===== 3.1.34-dev-5 =====
|
===== 3.1.34-dev-6 =====
|
||||||
|
29.10.2018
|
||||||
|
- bugfix Smarty::$php_handling == PHP_PASSTHRU (default) did eat the "\n" (newline) character if it did directly followed
|
||||||
|
a PHP tag like "?>" or other https://github.com/smarty-php/smarty/issues/501
|
||||||
|
|
||||||
14.10.2018
|
14.10.2018
|
||||||
- bugfix autoloader exit shortcut https://github.com/smarty-php/smarty/issues/467
|
- bugfix autoloader exit shortcut https://github.com/smarty-php/smarty/issues/467
|
||||||
|
|
||||||
|
@@ -112,7 +112,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
|||||||
/**
|
/**
|
||||||
* smarty version
|
* smarty version
|
||||||
*/
|
*/
|
||||||
const SMARTY_VERSION = '3.1.34-dev-5';
|
const SMARTY_VERSION = '3.1.34-dev-6';
|
||||||
/**
|
/**
|
||||||
* define variable scopes
|
* define variable scopes
|
||||||
*/
|
*/
|
||||||
|
@@ -47,7 +47,7 @@ class Smarty_Internal_Compile_Private_Php extends Smarty_Internal_CompileBase
|
|||||||
new Smarty_Internal_ParseTree_Tag(
|
new Smarty_Internal_ParseTree_Tag(
|
||||||
$compiler->parser,
|
$compiler->parser,
|
||||||
$compiler->processNocacheCode(
|
$compiler->processNocacheCode(
|
||||||
"<?php echo '{$output}';?>",
|
"<?php echo '{$output}';?>\n",
|
||||||
true
|
true
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -77,7 +77,7 @@ class Smarty_Internal_Compile_Private_Php extends Smarty_Internal_CompileBase
|
|||||||
new Smarty_Internal_ParseTree_Tag(
|
new Smarty_Internal_ParseTree_Tag(
|
||||||
$compiler->parser,
|
$compiler->parser,
|
||||||
$compiler->processNocacheCode(
|
$compiler->processNocacheCode(
|
||||||
"<?php echo '{$output}';?>",
|
"<?php echo '{$output}';?>\n",
|
||||||
true
|
true
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user