Related to this issue
I have found a case where the library behaves differently than handlebars.js:
Here is the setup:
{
"data": {
"name": "John",
"related": {
"mary": {
"relationship": "Siblings"
}
}
},
"other": {
"contents": {
"john": {
"name": "John",
"related": {
"mary": {
"relationship": "Siblings"
}
}
},
"mary": {
"name": "Mary"
}
}
}
}
# John
## [Mary](/mary)
Siblings
# John
## [Mary](/)
Siblings
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.
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 bad inexperienced with rust.
Thanks in advance!