Hello everyone. I am using Meteor 1.6 in combination with Material Design Lite (getmdl.io). The problem is, that the second of the approaches shown below produces different html code than the first one.
First approach: Working
<div class="mdl-tabs__tab-bar">
<a href="#all-envs" class="mdl-tabs__tab is-active">All Envs</a>
<a href="#dev" class="mdl-tabs__tab">dev</a>
<a href="#test" class="mdl-tabs__tab">test</a>
</div>
Second approach: Not Working
<div class="mdl-tabs__tab-bar">
<a href="#all-envs" class="mdl-tabs__tab is-active">All Envs</a>
{{#each enviroments}}
<a href="#{{namespace}}" class="mdl-tabs__tab">{{namespace}}</a>
{{/each}}
</div>
HTML for one element from first approach : <a href="#dev" class="mdl-tabs__tab">dev<span class="mdl-tabs__ripple-container mdl-js-ripple-effect" data-upgraded=",MaterialRipple"><span class="mdl-ripple is-animating" style="width: 183.127px; height: 183.127px; transform: translate(-50%, -50%) translate(54px, 27px);"></span></span></a>
HTML for one element from second approach : <a href="#dev" class="mdl-tabs__tab">dev</a>
As you can see in second HTML the <span>......</span>
is missing.
Am i doing something wrong and if yes, what can I do to fix it?
Any help would be highly appreciated!