pybars3
pybars3 copied to clipboard
`noEscape` option
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.
FWIW, one can monkey-patch the module to eliminate the HTML escaping:
pybars._compiler.escape = lambda s: s