diff --git a/library/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php b/library/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php new file mode 100644 --- /dev/null +++ b/library/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php @@ -0,0 +1,39 @@ +parser = $parser; + $this->data = $data; + } + + /** + * Return content as double quoted string + * + * @return string doubled quoted string + */ + public function to_smarty_php() { + return '"' . $this->data . '"'; + } +}