runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
318 stars 36 forks source link

<colgroup> doesn't detect closed tag when it doesn't see <col/> #161

Open pmcelhaney opened 3 years ago

pmcelhaney commented 3 years ago

image

It looks like <colgroup> doesn't recognize the closing tag if it doesn't find a <col/> tag.

const works = html`<colgroup><col/></colgroup>`
const broken = html`<colgroup></colgroup>`
const also_broken = html`<colgroup>${myColTags}</colgroup>`