summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stupid_template_engine.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/stupid_template_engine.php b/stupid_template_engine.php
index 69e5772..0edb880 100644
--- a/stupid_template_engine.php
+++ b/stupid_template_engine.php
@@ -823,6 +823,10 @@ function _transcompile($ast, $no_outputstack = False) /* The real transcompile f
$code .= ";\n";
$text_and_var_buffer = array();
}
+ else if($no_outputstack)
+ {
+ $code = "\"\"";
+ }
return $code;
}