If we run this as above, we get Two:. If we replace the {{#i}}{{two}}{{/i}} section with just {{two}}, we get the expected output of Two: 2. This seems unnatural to me and maybe even under-defined in the mustache spec, but is this the intended behavior?
Take this example:
If we run this as above, we get
Two:
. If we replace the{{#i}}{{two}}{{/i}}
section with just{{two}}
, we get the expected output ofTwo: 2
. This seems unnatural to me and maybe even under-defined in the mustache spec, but is this the intended behavior?