mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
caafac2248
Normally the template parsing operation normalizes all template line endings to '\n' only. This normalization operation causes source mapping errors when the original template uses '\r\n' line endings. The compiler already parses templates again to create a "diagnostic" template AST with accurate source maps, to avoid other parsing issues that affect source map accuracy. This commit configures this diagnostic parse to also preserve line endings. PR Close #40597
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT