erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

mustache html escaping #497

Closed benmmurphy closed 7 years ago

benmmurphy commented 8 years ago

by default mustache escapes html so '&<> characters become html entities. it can be avoided by using {{{}}} instead of {{}} but this is really bizzare behaviour because html probably has nothing to do with the content type of the what is being templated. We template erlang term files where it would only make sense to escape " -> \" (and other erlang string escapes)

lrascao commented 8 years ago

i think this is a consequence of using bbmustache as the mustache template that automatically performs html escaping, maybe the project maintainer might be willing to incorporate an erlang escaping mode.

lrascao commented 8 years ago

A request ticket has been opened in the bbmustache project soranoba/bbmustache#16

lrascao commented 7 years ago

i guess this can be closed, we can re-open it if some development occurs in bbmustache