65a0d2b53d
This is a potential fix for https://github.com/angular/vscode-ng-language-service/issues/235 suggested by @andrius-pra in https://github.com/andrius-pra/angular/commit/47696136e3d487098c2ba466e21b09cbb6bdfaeb. Currently, CRLF line endings are converted to LFs and this causes the diagnostics span to be off in templates that use CRLF. The line endings must be preserved in order to maintain correct span offset. The solution is to add an option to the Tokenizer to indicate such preservation. PR Close #33241