Page 1 of 1

escaping curly braces?

Posted: Sun Jun 11, 2006 10:27 pm
by jo4Sa
Hello,

I'm having trouble printing {curly braces} in my HTML files, presumably because CMSMS uses them to identify functions.  I get the following error on generated pages:

Fatal error: Smarty error: [in content:content_en line 66]: syntax error: unrecognized tag: whatever's inside the curly braces
        (Smarty_Compiler.class.php, line 436) in /home/mindstring/domains/mindstring.net/public_html/cms/lib/smarty/Smarty.class.php on line 1095

I've tried replacing the braces with their ASCII code equivalents, but it still fails with the same error.  Not printing curly braces is not an option (and I would rather not have to insert screenshots every time I need to use them).

Here are my software versions:
CMSMS 0.13 ("canary")
Apache 1.3.31
MySQL 4.0.16
Fedora Core / User Mode Linux

Thanks,
Jonathan

Re: escaping curly braces?

Posted: Sun Jun 11, 2006 10:39 pm
by calguy1000
{literal} this text has { and } braces in it {/literal}

Re: escaping curly braces?

Posted: Mon Jun 12, 2006 12:52 pm
by jo4Sa
Thanks