Skip to content
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

maybe strict escaping problem, forward slash turned into unicode entity #307

Closed
bryanrasmussen opened this issue Mar 29, 2013 · 2 comments
Closed

Comments

@bryanrasmussen
Copy link

As per the subject, I am passing in uri, and the forward slashes come out as the entity #x2f;

IF it is strict escaping, is there a way to turn that off?

@twalpole
Copy link

From the readme:

All variables are HTML-escaped by default. If you want to render unescaped HTML, use the triple mustache: {{{name}}}. You can also use & to unescape a variable.

@mjackson
Copy link
Contributor

@bryanrasmussen As a side note, you can always specify the behavior that Mustache uses to escape things by overriding Mustache.escape. See this issue for further discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants