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

Context is wrong inside inverted sections #18

Closed
timmfin opened this issue Oct 21, 2010 · 2 comments
Closed

Context is wrong inside inverted sections #18

timmfin opened this issue Oct 21, 2010 · 2 comments

Comments

@timmfin
Copy link

timmfin commented Oct 21, 2010

Here is a test case: http://gist.github.com/639221

I've only had a little bit of time to look at the handlebars code, but it seems like a few things are out of place for inverted sections. Like, why is "fn70Not" referred to, but never defined? (see the compiled template output at the bottom of the gist)

I'll try to dig a little more.

@timmfin
Copy link
Author

timmfin commented Oct 21, 2010

Oh, it works if you use the {{^}} handlebars shortcut. I can use that as workaround in the meantime.

@wycats
Copy link
Collaborator

wycats commented May 4, 2011

This should be fixed in the latest Handlebars. Please reopen if this is still broken.

@wycats wycats closed this as completed May 4, 2011
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

2 participants