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

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

Comments

Projects
None yet
3 participants
@bmomberger-reciprocity
Contributor

bmomberger-reciprocity commented Jan 9, 2013

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