Skip to content

Commit

Permalink
feat(TAG_DEFINITIONS): include <meta> and <base>
Browse files Browse the repository at this point in the history
needed to parse index.html as a component template
Closes #7455
  • Loading branch information
PatrickJS committed Mar 8, 2016
1 parent 756f5d8 commit 2c7c3e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/angular2/src/compiler/html_tags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}),
Expand Down

0 comments on commit 2c7c3e3

Please sign in to comment.