I'm not sure if this is more a feature than a bug. Please enlighten me.
The template _{#foo}x{:else}y{/foo}_ with context {"foo":[]} renders to __. Shouldn't this be _y_? Is there any other way to check if an array is empty and print a note about that?
I'm not sure if this is more a feature than a bug. Please enlighten me.
The template
_{#foo}x{:else}y{/foo}_
with context{"foo":[]}
renders to__
. Shouldn't this be_y_
? Is there any other way to check if an array is empty and print a note about that?