Is it possible to have nested JavaScript template tags e.g.
<script id="Product" type="text/html">
<div class="product">
....
<div class="features">
<script id="Features" type="text/html">
<div class="feature">
...
</div>
</script>
</div>
...
</div>
</script>
When the template "Product" is evaluated the feature template is now available as a template that I can call when I'm ready.
When I try this method in my browser, I notice some elements appear in the wrong order as if I forgot an end tag somewhere.
However when I remove the nested template (Feature) it is all good ...
Wondering if there was proper way of achieving this.
scriptelement are script code, not HTML markup.