- enhancement remove BOM automatically from template source (topic 25161)

This commit is contained in:
Uwe.Tews@googlemail.com
2014-07-16 18:21:25 +00:00
parent c2bba29216
commit 77292d394a
4 changed files with 11 additions and 1 deletions
@@ -2662,7 +2662,8 @@ class Smarty_Internal_Templateparser #line 80 "smarty_internal_templateparser.ph
if (isset(self::$yyExpectedTokens[$nextstate])) {
$expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]);
if (in_array($token,
self::$yyExpectedTokens[$nextstate], true)) {
self::$yyExpectedTokens[$nextstate], true)
) {
$this->yyidx = $yyidx;
$this->yystack = $stack;