How can I print HTML code inside a Meteor template using handle/spacebars?
When I try to manipulate the <div>
element using a simple variable containing a style=""
code, it generates an error. For example:
<div {{style}}>
// Something in here.
</div>
Will fail if {{style}}
is something along the line of 'style="something: something;"'
set from the Template.helpers.
How can I print HTML code inside the template?