diff --git a/dist/renderers/handlebars-generator.js b/dist/renderers/handlebars-generator.js index 8955215..53df326 100644 --- a/dist/renderers/handlebars-generator.js +++ b/dist/renderers/handlebars-generator.js @@ -39,7 +39,7 @@ Definition of the HandlebarsGenerator class. template = HANDLEBARS.compile(tpl, { strict: false, assumeObjects: false, - noEscape: data.opts.noescape || false + noEscape: data.opts.noescape }); return template(data); } catch (_error) { diff --git a/src/renderers/handlebars-generator.coffee b/src/renderers/handlebars-generator.coffee index fa590fe..0041bb1 100644 --- a/src/renderers/handlebars-generator.coffee +++ b/src/renderers/handlebars-generator.coffee @@ -30,7 +30,7 @@ HandlebarsGenerator = module.exports = try # Compile and run the Handlebars template. template = HANDLEBARS.compile tpl, - strict: false, assumeObjects: false, noEscape: data.opts.noescape || false + strict: false, assumeObjects: false, noEscape: data.opts.noescape return template data catch throw