You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there is an incompatible path resolution with with block. In handlebars-rust, you can use {{@../key}} to get mary. I will look into this issue and try to fix it on 5.0 release channel.
Hello! First of all, thanks a lot for your hard work on this library!
Issue Description
I have found a case where the library behaves differently than handlebars.js:
Here is the setup:
Template
Data
Expected output
Actual output
This is a link to the handlebars' playground showing what I am attempting to do: here.
This is a link to a repository that can be cloned to reproduce the issue: here.
Further notes
The main issue seems to be referencing
@key
inside a{{#with}}
block.Do you have any insights on why this is the case, if there is a setting I overlooked in the library, or if there are workarounds?
I am more than happy to help, albeit a little
badinexperienced with rust.Thanks in advance!
The text was updated successfully, but these errors were encountered: