mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
f12db89659
The ng-container and binding template guide files each began with a UTF-8 BOM (EF BB BF) before the leading `#`. The docs markdown parser only promotes `#` to an H1 when it is the first character on the line, so the BOM demoted the title to paragraph text (`<p># ...</p>`) and the standard docs header (breadcrumbs, page title, edit button) never rendered. Stripping the BOM restores `#` as the first character, so both pages now generate the proper `<header class="docs-header">` block. Verified by rebuilding //adev/src/content/guide/templates:templates and inspecting the generated HTML. Fixes #69889