JSDocTag#comment has CRLF newlines as CR #35511
Labels
Bug
A bug in TypeScript
Domain: JSDoc
Relates to JSDoc parsing and type generation
Fix Available
A PR has been opened for this issue
Milestone
TypeScript Version: 3.8.0-dev.20191128
Search Terms: JSDocTag newlines comment
Code
Expected behavior:
Either:
"Some\ntext\r\nwith newlines."
<-- probably as-is?"Some\ntext\nwith newlines."
Actual behavior:
Outputs:
"Some\ntext\rwith newlines."
The text was updated successfully, but these errors were encountered: