mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
b461e06ecb
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