mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
-improvement allow leading spaces on } tag closing if auto_literal is enabled
This commit is contained in:
@@ -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
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user