Skip to content

Fix 63749 - Markdown, U+2028, and "Go to Symbol in File..."#63936

Merged
mjbvz merged 3 commits intomicrosoft:masterfrom
skprabhanjan:fix-63749
Nov 29, 2018
Merged

Fix 63749 - Markdown, U+2028, and "Go to Symbol in File..."#63936
mjbvz merged 3 commits intomicrosoft:masterfrom
skprabhanjan:fix-63749

Conversation

@skprabhanjan
Copy link
Copy Markdown
Contributor

@mjbvz , Added UNICODE_NEWLINE_REGEX to replace those characters, fixes #63749 .
Please review this and let me know if any changes are needed :)
Thanks.

PS: Unit tested for many cases with those U+2028 chars and it works all fine :)

@rebornix
Copy link
Copy Markdown
Member

Just FYI, text buffer in VSCode/Monaco doesn't support U+2028 and U+2029 right now

@mjbvz
Copy link
Copy Markdown
Collaborator

mjbvz commented Nov 28, 2018

@rebornix Do you recommend this workaround?

@skprabhanjan Please also add tests for this. There is skipped one already that should cover it, see 2f9f0c3

@skprabhanjan
Copy link
Copy Markdown
Contributor Author

skprabhanjan commented Nov 29, 2018

Please also add tests for this. There is skipped one already that should cover it, see 2f9f0c3

Added the test. (Removed the .skip)

@mjbvz mjbvz merged commit e05aa17 into microsoft:master Nov 29, 2018
@mjbvz
Copy link
Copy Markdown
Collaborator

mjbvz commented Nov 29, 2018

Thanks! The fix will be in the next VS Code insiders build and will be released with VS Code 1.30

@mjbvz mjbvz added this to the November 2018 milestone Nov 29, 2018
@skprabhanjan skprabhanjan deleted the fix-63749 branch November 29, 2018 17:22
@rebornix
Copy link
Copy Markdown
Member

@mjbvz the change for markdown is good ;)

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Markdown, U+2028, and "Go to Symbol in File..."

4 participants