Escaping { in assign statement (not using {literal})
| From: | Ivo Jansch | Date: | Wed, 10 Aug 2005 14:40:24 +0000 |
| Subject: | Escaping { in assign statement (not using {literal}) | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12940@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
how can I make this work:
{assign var="somevar" value="this: {} is a tag"}
I need to escape the {} somehow, so it doesn't break the assign tag.
Greetings,
Ivo
- --
Ivo Jansch <ivo@ibuildings.nl>
ibuildings.nl BV - information technology
http://www.ibuildings.nl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC+hHY95NUnGFZm9cRAsdUAJ91VIOWOIgcu7pF++SUD7BQSerxbQCfYdlz
iyhYbgIpA9id2vWzQl5sU7Q=
=0+dH
-----END PGP SIGNATURE-----