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

Mustache: registered helpers do not create the context stack correctly. #228

Closed
bmomberger-reciprocity opened this issue Jan 9, 2013 · 0 comments
Milestone

Comments

@bmomberger-reciprocity
Copy link
Contributor

http://jsfiddle.net/v6zTT/1/

When options.fn() is called from a registered Mustache helper, the stack is created with first the current object, then the passed-in object. If the two objects have a property name collision, template sections inside of helper calls render incorrect values.

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