Hi
I'm using handlebars templates in a topic. This means that I need to insert a template like this.
<script id="params-template" type="text/x-handlebars-template">
{{#myhelper '}}
some content
{{/myhelper }}
</script>
My problem is that when I build the output, Flare is adding CDATA and javascript comments (see below in below in bold)
- since this is not javascript the comments appear as part of the template text and appear in the output.
<script id="params-template" type="text/x-handlebars-template">/* <![CDATA[ */
{{#myhelper '}}
some content
{{/myhelper }}
/* ]]> */</script>
Does anyone know how I can suppress generating the CDATA and the comments - or at least just the comment?
Thanks