Closed
Description
Templates should be validated with different semantics. IOW, if I am templating an <li>
, I should not be warned that an <ul>
will be implicitly inserted.
Template html src
<template id="tmpl__lane">
<li class="lane">
<h2></h2>
<ol class="stories"></ol>
</li>
</template>
Error on line one:
missing </template> before <li>
Error on line 2
inserting implicit <ul>
Error on line three
trimming empty <h2>
imho, none of these errors should appear due that we are inside of a <template>
.