escaping curly braces?

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
jo4Sa

escaping curly braces?

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: escaping curly braces?

Post by calguy1000 »

{literal} this text has { and } braces in it {/literal}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
jo4Sa

Re: escaping curly braces?

Post by jo4Sa »

Thanks
Locked

Return to “[locked] Quality Assurance”