-improvement allow leading spaces on } tag closing if auto_literal is enabled

This commit is contained in:
uwe.tews@googlemail.com
2011-02-16 16:45:27 +00:00
parent e4e5418b46
commit 5a6c3e6928
2 changed files with 1 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
===== SVN trunk =====
16/02/2011
-fixed typo in exception message of Smarty_Internal_Template
-improvement allow leading spaces on } tag closing if auto_literal is enabled
13/02/2011
- bugfix replace $smarty->triggerError() by exception in smarty_internal_resource_extends.php

View File

@@ -561,12 +561,8 @@ class Smarty_Internal_Templatelexer
function yy_r2_8($yy_subpatterns)
{
if ($this->smarty->auto_literal) {
$this->token = Smarty_Internal_Templateparser::TP_OTHER;
} else {
$this->token = Smarty_Internal_Templateparser::TP_RDEL;
$this->yypopstate();
}
}
function yy_r2_9($yy_subpatterns)
{