Meteor Devwork answered my question. One of the main changes in Meteor 0.8.0 is the new Blaze template system, which makes your templates a completely new way. Instead of re-generating the entire HTML fragment every time the template renders itself, Blaze finds only the DOM nodes that need to be updated and makes the minimum possible changes. This means that you are no longer allowed to have private HTML tags inside block helpers.
So, the corrected code is as follows:
{{#if selected}} <div class="Answer--selected"> <i class="fa"></i> {{title}} </div> {{else}} <div class="Answer"> <i class="fa"></i> {{title}} </div> {{/if}}
NTN
source share