diff options
-rw-r--r-- | stupid_template_engine.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stupid_template_engine.php b/stupid_template_engine.php index 2c8a5ac..c67b1fd 100644 --- a/stupid_template_engine.php +++ b/stupid_template_engine.php @@ -466,7 +466,7 @@ class Parser { } $off = $this->off - 1; - $tag->params[$name] = $this->parse_text( + $tag->params[$param] = $this->parse_text( self::ESCAPES_DEFAULT . $quot, /* Escapes */ 0, /* Flags */ $quot, /* Break on */ @@ -1435,7 +1435,6 @@ class STECore $content = $this->storage_access->load($tpl, $mode); if($mode == MODE_SOURCE) { - $content = precompile($content); try { $ast = Parser::parse($content, $tpl); |