Open silverwind opened 4 years ago
For cases where one does not generate HTML, handlebars.js provides a useful noEscape that disables escaping in double-curly blocks. I'd love to have this option in this module too.
noEscape
FWIW, one can monkey-patch the module to eliminate the HTML escaping:
pybars._compiler.escape = lambda s: s
For cases where one does not generate HTML, handlebars.js provides a useful
noEscape
that disables escaping in double-curly blocks. I'd love to have this option in this module too.