feat(TAG_DEFINITIONS): include <meta> and <base>
needed to parse index.html as a component template Closes #7455
This commit is contained in:
parent
756f5d884f
commit
2c7c3e3c69
|
@ -327,6 +327,8 @@ export class HtmlTagDefinition {
|
||||||
// see http://www.w3.org/TR/html51/syntax.html#optional-tags
|
// see http://www.w3.org/TR/html51/syntax.html#optional-tags
|
||||||
// This implementation does not fully conform to the HTML5 spec.
|
// This implementation does not fully conform to the HTML5 spec.
|
||||||
var TAG_DEFINITIONS: {[key: string]: HtmlTagDefinition} = {
|
var TAG_DEFINITIONS: {[key: string]: HtmlTagDefinition} = {
|
||||||
|
'base': new HtmlTagDefinition({isVoid: true}),
|
||||||
|
'meta': new HtmlTagDefinition({isVoid: true}),
|
||||||
'area': new HtmlTagDefinition({isVoid: true}),
|
'area': new HtmlTagDefinition({isVoid: true}),
|
||||||
'embed': new HtmlTagDefinition({isVoid: true}),
|
'embed': new HtmlTagDefinition({isVoid: true}),
|
||||||
'link': new HtmlTagDefinition({isVoid: true}),
|
'link': new HtmlTagDefinition({isVoid: true}),
|
||||||
|
|
Loading…
Reference in New Issue