Sigma template
| From: | Jacques | Date: | Sat, 10 Jul 2004 00:08:24 +0000 |
| Subject: | Sigma template | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-13591@lists.php.net to get a copy of this message | ||
Hi people!
I have a litle doubt with Sigma Template;
How don´t parser a caracter "{" and "}"? I don´t get return a complete javascript function because, after parser, the "{" and "}" be parsed together...
Template:
{text} --> will be replace by "My text".
{javascript} --> will be replace by "function go() { ... }"
but after the parser with setVariable, i have:
{text} --> replaced by "My text", Ok.
{javascript} --> replaced by "function go()" <---- Without "{" and "}"
Somebody help-me?
Jacques, From Brazil.