diff options
| author | uwe.tews@googlemail.com <uwe.tews@googlemail.com> | 2011-02-16 16:45:27 +0000 |
|---|---|---|
| committer | uwe.tews@googlemail.com <uwe.tews@googlemail.com> | 2011-02-16 16:45:27 +0000 |
| commit | 5a6c3e69286cc5395dd0391f0f778a274202060e (patch) | |
| tree | fcb1dd2c2793b43e83ef5d1364dc194cbc6162e4 /libs | |
| parent | e4e5418b463ce1f35339c2f7511cb4eda5f48668 (diff) | |
| download | smarty-5a6c3e69286cc5395dd0391f0f778a274202060e.tar.gz smarty-5a6c3e69286cc5395dd0391f0f778a274202060e.tar.bz2 smarty-5a6c3e69286cc5395dd0391f0f778a274202060e.zip | |
-improvement allow leading spaces on } tag closing if auto_literal is enabled
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/sysplugins/smarty_internal_templatelexer.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/sysplugins/smarty_internal_templatelexer.php b/libs/sysplugins/smarty_internal_templatelexer.php index 5e0e496a..bd71f26e 100644 --- a/libs/sysplugins/smarty_internal_templatelexer.php +++ b/libs/sysplugins/smarty_internal_templatelexer.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) { |
