New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prevent escaping html entities #24
Comments
The easiest way to do this today is to use triple braces, e.g. (There is an outstanding pull request for this at #14 to add a target-wide flag to disable the escaping but it wasn't merged at the time. It would just need to be rebased, cleaned up, and have some unit tests added. Since folks often use mustache for output other than HTML, it would be helpful to have.) |
Thanks @corpulentcoffee, the triple brace trick is the simple solution for sure! I completely forgot that mustache is capable of that. With regards to pull-request #25, what does it actually offer that the triple braces don't already do? I would probably vote against the pull-request if it doesn't do anything more than what the triple brace escaping already offers... |
@matyus, having The |
I have file paths in the data that I'm injecting into my templates, but the rendering engine converts slashes to html entities:
/
becomes/
when rendered.Is there an existing option that gives me control over this?
The text was updated successfully, but these errors were encountered: