I have a handlebars template that is passed a JSON object. I can render all that fine but some of the strings actually contain template information such that when I render it I get something like this:
index.handlebars snippet:
{{#each json}}
<td> {{tooltip}}</td>
{{/each}}
Output (where e1 and f1 are parts of the json object):
Blah, blah {{ e1 }} {{ f1 }} blah blah
Is there any way to get handlebars to expand the variable and evaluate it within its context?
I can send the object to a helper function and could mangle my own way through parsing it to return a string, but I can't figure out a way to get handlebars to essentially treat it as a partial or expand the variable to then evaluate it.