Closed GBratsos closed 6 years ago
Hello all,
I want to ask if there is something like Handlebars noEscape for Panini and if not is there a way to deal with this problem?
My issue, is that i use data from json file and i need to print text from article with html tags inside.
With handlebars, i used this Javascript code:
var stone = Handlebars.compile(template, { noEscape: true })(data[i]);
Is there something like that on the Gulp build process of Panini?
Ok i found the solution.
Just use 3 curly braces {{{data.value}}} in order to get rid of double quotes
Good to hear you figured it out 👌
Hello all,
I want to ask if there is something like Handlebars noEscape for Panini and if not is there a way to deal with this problem?
My issue, is that i use data from json file and i need to print text from article with html tags inside.
With handlebars, i used this Javascript code:
var stone = Handlebars.compile(template, { noEscape: true })(data[i]);
Is there something like that on the Gulp build process of Panini?