Skip to content

JSDoc uses same newlines as normal scanner #39351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 30, 2020
Merged

Conversation

sandersn
Copy link
Member

Previously, scanJsDocToken treated each newline character separately, so the sequence \r\n would be treated as two lines. This is unexpected, and not the way the normal scanner does it.

This change makes the jsdoc scanner behave the same as the normal scanner.

Fixes #35511

Previously, scanJsDocToken treated each newline character separately, so
the sequence \r\n would be treated as two lines. This is unexpected, and
not the way the normal scanner does it.

This change makes the jsdoc scanner behave the same as the normal
scanner.
@sandersn sandersn merged commit 0f9d4c7 into master Jun 30, 2020
@sandersn sandersn deleted the fix-jsdoc-newline-scanning branch June 30, 2020 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JSDocTag#comment has CRLF newlines as CR
3 participants