html icon indicating copy to clipboard operation
html copied to clipboard

Template tag within table wrongly reports voodoo error

Open MichaelRFairhurst opened this issue 8 years ago • 0 comments

From spec: https://html.spec.whatwg.org/#parsing-main-intable

12.2.5.4.9 The "in table" insertion mode

When the user agent is to apply the rules for the "in table" insertion mode, the user agent must handle the token as follows:

...

A start tag whose tag name is one of: "style", "script", "template"
An end tag whose tag name is "template"
Process the token using the rules for the "in head" insertion mode.

Original bug filed with us: https://github.com/dart-lang/angular_analyzer_plugin/issues/239

MichaelRFairhurst avatar Jan 23 '17 23:01 MichaelRFairhurst