hogan-express
hogan-express copied to clipboard
Error when using arrays with lambdas
If I do something like
{{#myArray}}
{{#lambdas.className}}{{.}}{{/lambdas.className}}
{{#lambdas.className}}Test This{{/lambdas.className}}
{{/myArray}}
with myArray being ['First Element', 'Second Element']
then the output will be:
test-this
test-this
essentially, it doesn't seem to work with the {{.}}
tag, but works with other tags and plain text.
Hey @sjmarshy, this lib seems not be supported anymore. I migrated it here (published as hogan-xpress
): https://github.com/tandrewnichols/hogan-xpress. You can check to see if your issue still exists (it might . . . although I did implement some fixes for lambdas) and open a new issue there if so.