Fixed odd breakage of templates involving '<span class="{{foo}}">{{bar}}</span>'...