How to use "{{" in docx recipe - help needed
-
I need to include some tags to external application in the generated word document (docx recipe) ,
The tag looks like this: {{Cmpy_es_:signer1:company}} .
I was not able to include this in the template, some example to what i tried to do:
\{{Cmpy_es_:signer1:company}} --> this is working in html
\\{{Cmpy_es_:signer1:company}}
/\{{Cmpy_es_:signer1:company}}is it possible in docx recipe ?
@jan_blaha @bjrmatos
-
hi! do you mean that you need that after jsreport generate the docx, you need that the file contains the
{{Cmpy_es_:signer1:company}}
text? so basically you need that jsreport ignores such tags, right?you need to declare helper like this:
function raw (options) { return options.fn() }
and use it like this example: https://playground.jsreport.net/w/anon/4QTaoV~V
NOTE: it is a bit explicit and long but it is how handlebars works