Closed kevin-bog closed 2 weeks ago
Hi.
Can you rephrase your question? What do you mean by "keep the variable {{}}"
And besides: Is this a question about handlebars or this plugin? If you have the an example of your input and expected output, i might be able to help.
Hey,
sorry I meant,
I want to keep the handle bars variables :
<p>{{ firstname }}</p>
after the compilation, because after compilation, my variables are removed:
<p></p>
Look like I made a mistake, and had to handle the rendering all from my serverside, without compiling the file
For me, just add backslash before your variable. Example:
Before compilation:
<p>\{{ firstname }}</p>
After compilation:
<p>{{ firstname }}</p>
Hi, firstly, thanks for your work !
Everything works fine except, I would like to keep my variable
{{}}
after compilation. Because this is my controller which send data to my template how can i do this ?Edit; Look like I couldn't do this. I had to handle this from the server and build one entry by partial ?
Thanks for taking the time