diff --git a/change_log.txt b/change_log.txt index 10a0169c..1679e35b 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,4 @@ + - remove whitespaces after comments https://github.com/smarty-php/smarty/issues/447 - fix foreachelse on arrayiterators https://github.com/smarty-php/smarty/issues/506 ===== 3.1.34 release ===== 05.11.2019 diff --git a/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php b/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php index a8c37794..cc850d38 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php @@ -76,7 +76,7 @@ class CompileStripTest extends PHPUnit_Smarty array("{'Var'}\n ", 'Var ', '', $i ++), array("\n ", ' ', '', $i ++), array("\n\n ", '', '', $i ++), - + array("\n\n {* a comment *}\n ", '', '', $i ++), ); }