How can I dynamically render HTML using Meteor Spacebars templates?
问题 So let's say I'm storing <div>{{name}}</div> and <div>{{age}}</div> in my database. Then I want to take the first HTML string and render it in a template - {{> template1}} which just renders the first string with the {{name}} handlebar in it. Then I want to give that newly generated template/html data, so that it can fill in the handlebar with the actual name from the database, so that we would get <div>John</div> . I've tried doing <template name="firstTemplate"> {{#with dataGetter}} {{>