@angular/core 10.0.10 → 10.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v10.0.10
2
+ * @license Angular v10.0.14
3
3
  * (c) 2010-2020 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -4799,8 +4799,9 @@
4799
4799
  DOMParserHelper.prototype.getInertBodyElement = function (html) {
4800
4800
  // We add these extra elements to ensure that the rest of the content is parsed as expected
4801
4801
  // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the
4802
- // `<head>` tag.
4803
- html = '<body><remove></remove>' + html + '</body>';
4802
+ // `<head>` tag. Note that the `<body>` tag is closed implicitly to prevent unclosed tags
4803
+ // in `html` from consuming the otherwise explicit `</body>` tag.
4804
+ html = '<body><remove></remove>' + html;
4804
4805
  try {
4805
4806
  var body = new window.DOMParser().parseFromString(html, 'text/html').body;
4806
4807
  body.removeChild(body.firstChild);
@@ -19817,7 +19818,7 @@
19817
19818
  /**
19818
19819
  * @publicApi
19819
19820
  */
19820
- var VERSION = new Version('10.0.10');
19821
+ var VERSION = new Version('10.0.14');
19821
19822
 
19822
19823
  /**
19823
19824
  * @license