angular/packages/core
Jan Martin 13a8709b2b fix(core): catch hydration marker with implicit body tag (#60429)
When the browser parses a valid html5 response like this:

```html
<!-- ... -->
<title>My page</title>
</head>
<!--nghm-->
<app-root></app-root>
<!-- ... -->
```

The resulting DOM will only start adding nodes to the body when it
runs into the first non-header tag. E.g.:

```yml
- head
  - title "My page"
- comment "nghm"
- body
  - app-root
```

This isn't a sign that comments are modified, so it seems worth to
handle it gracefully.

PR Close #60429
2025-03-19 15:51:37 +01:00
..
global refactor(docs-infra): use interpolation instead of innerHTML for better perf (#58913) 2024-11-27 10:59:18 +01:00
primitives refactor(core): Support and document manually provided internal injections (#60347) 2025-03-14 13:40:41 +01:00
rxjs-interop fix(core): fix race condition in resource() (#59851) 2025-02-05 15:01:02 -08:00
schematics fix(core): fix removal of a container reference used in the component file (#60210) 2025-03-11 09:26:14 -07:00
src fix(core): catch hydration marker with implicit body tag (#60429) 2025-03-19 15:51:37 +01:00
test fix(core): catch hydration marker with implicit body tag (#60429) 2025-03-19 15:51:37 +01:00
testing refactor(core): Add fake navigation to primitives for code sharing (#59857) 2025-02-19 20:09:10 +00:00
BUILD.bazel refactor(core): Move getCurrentInjector/setCurrentInjector to primitives package. (#60090) 2025-02-28 18:47:09 +00:00
index.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
package.json build: update zone.js peer dependency for core package to 0.15.0 (#57431) 2024-08-21 13:17:52 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00