LightnCandy generates an output of "" where Handlebars generates the expected output of {"bar":"two","foo":"one"}. The issue seems to be that LightnCandy tries to cast the returns from all helpers to strings, even if they are nested to be supplied as a non-string value to another helper.
The PHP Code:
The Issue:
LightnCandy generates an output of
""
where Handlebars generates the expected output of{"bar":"two","foo":"one"}
. The issue seems to be that LightnCandy tries to cast the returns from all helpers to strings, even if they are nested to be supplied as a non-string value to another helper.