above works for sure.. seems your using it on wrong way. second option is using html entities.
try with this: *{{ #if }}* *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Sun, Jul 20, 2014 at 6:54 AM, Rushmin Fernando <[email protected]> wrote: > thanks dakshika !! > > followed your instructions. backslash worked well with expressions. but > gave errors when there are helpers black like {{ #if }} > > In my hbs block there are quite a few {{ }} blocks. so it will be great > if i have a directive to say not to translate a whole block. > > HTML escape works only after the translation. so it doesn't fit in. > > > > > On Sun, Jul 20, 2014 at 11:22 AM, Dakshika Jayathilaka <[email protected]> > wrote: > >> Hi, >> >> You can simply use the double braces with a backslash. >> >> *\{{your content}}* >> >> normally handle bars supports HTML-escapes with *{{{}}} * >> >> Regards, >> >> *Dakshika Jayathilaka* >> Software Engineer >> WSO2, Inc. >> lean.enterprise.middleware >> 0771100911 >> >> >> On Sun, Jul 20, 2014 at 5:16 AM, Rushmin Fernando <[email protected]> >> wrote: >> >>> can we $subject ? >>> >>> I need to do use a block of handlebars in front end, so i need caramel >>> engine NOT to translate that certain bock in the jagg controller. >>> >>> whats the smartest way of doing this please ? >>> >>> >>> >>> -- >>> *Rushmin Fernando* >>> *Technical Lead* >>> >>> WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware >>> >>> email : [email protected] >>> mobile : +94772310855 >>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> > > > -- > *Rushmin Fernando* > *Technical Lead* > > WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware > > email : [email protected] > mobile : +94772310855 > > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
