-
Notifications
You must be signed in to change notification settings - Fork 638
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
repeated set
appears to be malfunctioning
#119
Comments
Can you pare down your snippet into a standalone example? I think I know why this is happening and have an idea how to fix it, but want to make sure it works with your use case. |
no problem. Reduced: test.html
a.html
app.js
|
So this is why you're seeing the issue:
I'm not sure why [1] Simplified for the sake of explanation |
Reverse order of context/frame lookup (issue #119)
@Pomax does this fix your issue? |
Completely missed the pull request - I'll test this in a few hours! |
@jlongster yup: that seems to do the trick! |
I'm using the following nunjucks fragment:
However, when templating is performed inside the
for
loop, thetitle
and other variables, despite having been rebound using theset
command, are still the value they received on first `set.The text was updated successfully, but these errors were encountered: