From 2c7c3e3c69f2d80023cd8ef3ff2dec828d367c18 Mon Sep 17 00:00:00 2001 From: PatrickJS Date: Sun, 6 Mar 2016 22:39:36 -0800 Subject: [PATCH] feat(TAG_DEFINITIONS): include and needed to parse index.html as a component template Closes #7455 --- modules/angular2/src/compiler/html_tags.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/angular2/src/compiler/html_tags.ts b/modules/angular2/src/compiler/html_tags.ts index 315f0521dd..14924f93a4 100644 --- a/modules/angular2/src/compiler/html_tags.ts +++ b/modules/angular2/src/compiler/html_tags.ts @@ -327,6 +327,8 @@ export class HtmlTagDefinition { // see http://www.w3.org/TR/html51/syntax.html#optional-tags // This implementation does not fully conform to the HTML5 spec. var TAG_DEFINITIONS: {[key: string]: HtmlTagDefinition} = { + 'base': new HtmlTagDefinition({isVoid: true}), + 'meta': new HtmlTagDefinition({isVoid: true}), 'area': new HtmlTagDefinition({isVoid: true}), 'embed': new HtmlTagDefinition({isVoid: true}), 'link': new HtmlTagDefinition({isVoid: true}),