mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
- bugfix E_NOTICE message was created during compilation when ASP tags '<%' or '%>' are in template source text
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
===== 3.1.22-dev ===== (xx.xx.2014)
|
===== 3.1.22-dev ===== (xx.xx.2014)
|
||||||
|
- bugfix E_NOTICE message was created during compilation when ASP tags '<%' or '%>' are in template source text
|
||||||
|
|
||||||
===== 3.1.21 ===== (18.10.2014)
|
===== 3.1.21 ===== (18.10.2014)
|
||||||
18.10.2014
|
18.10.2014
|
||||||
- composer moved to github
|
- composer moved to github
|
||||||
|
@@ -3453,20 +3453,20 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
|
|||||||
function yy_r11()
|
function yy_r11()
|
||||||
{
|
{
|
||||||
if ($this->php_handling == Smarty::PHP_PASSTHRU) {
|
if ($this->php_handling == Smarty::PHP_PASSTHRU) {
|
||||||
$this->_retvalue = new _smarty_text($this, st);
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
||||||
} elseif ($this->php_handling == Smarty::PHP_QUOTE) {
|
} elseif ($this->php_handling == Smarty::PHP_QUOTE) {
|
||||||
$this->_retvalue = new _smarty_text($this, htmlspecialchars('%>', ENT_QUOTES));
|
$this->_retvalue = new _smarty_text($this, htmlspecialchars('%>', ENT_QUOTES));
|
||||||
} elseif ($this->php_handling == Smarty::PHP_ALLOW) {
|
} elseif ($this->php_handling == Smarty::PHP_ALLOW) {
|
||||||
if ($this->asp_tags) {
|
if ($this->asp_tags) {
|
||||||
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('%>', true));
|
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('%>', true));
|
||||||
} else {
|
} else {
|
||||||
$this->_retvalue = new _smarty_text($this, st);
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
||||||
}
|
}
|
||||||
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
|
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
|
||||||
if ($this->asp_tags) {
|
if ($this->asp_tags) {
|
||||||
$this->_retvalue = null;
|
$this->_retvalue = null;
|
||||||
} else {
|
} else {
|
||||||
$this->_retvalue = new _smarty_text($this, st);
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user