mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
-bugfix {strip} should insert a single space https://github.com/smarty-php/smarty/issues/111
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
===== 3.1.28-dev===== (xx.xx.2015)
|
===== 3.1.28-dev===== (xx.xx.2015)
|
||||||
|
05.12.2015
|
||||||
|
-bugfix {strip} should insert a single space https://github.com/smarty-php/smarty/issues/111
|
||||||
|
|
||||||
25.11.2015
|
25.11.2015
|
||||||
-bugfix a left delimter like '[%' did fail on [%$var_[%$variable%]%] (forum topic 25798)
|
-bugfix a left delimter like '[%' did fail on [%$var_[%$variable%]%] (forum topic 25798)
|
||||||
|
|
||||||
|
@@ -777,7 +777,7 @@ abstract class Smarty_Internal_TemplateCompilerBase
|
|||||||
public function processText($text)
|
public function processText($text)
|
||||||
{
|
{
|
||||||
if ($this->parser->strip) {
|
if ($this->parser->strip) {
|
||||||
return new Smarty_Internal_ParseTree_Text(preg_replace($this->stripRegEx, '', $text));
|
return new Smarty_Internal_ParseTree_Text(preg_replace($this->stripRegEx, ' ', $text));
|
||||||
} else {
|
} else {
|
||||||
return new Smarty_Internal_ParseTree_Text($text);
|
return new Smarty_Internal_ParseTree_Text($text);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user