mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
5d8b76b4fa
The DocViewer component's getCodeSnippetsFromMultifileWrapper method was not extracting the header attribute from nested <docs-code> elements, causing the ExampleViewer to fall back to displaying file paths instead of custom headers in tab labels. This change adds title extraction from the header attribute when processing multifile code snippets, ensuring that custom headers are properly displayed in the code viewer tabs. Fixes #64760