You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Some punctuation causes incorrect wrapping when followed by quote. #33236
Create or open a file of any type compatible with VS Code that uses text, preferably .md or .txt but other file types work.
Insert text mixed with white space to ensure proper wrapping behavior.
At the end of the line, for the last character before wrapping would occur, insert a comma (,), a question mark (?), or an ampersand (&).
Follow that character with one of the above listed characters or with a double quotation mark (") or single quotation mark (') or a space () with no other characters between.
Expected result: The entire chunk of punctuation wraps as though it were a single word.
Actual Result: The second punctuation mark wraps as though the previous mark was whitespace.
This is particularly annoying when writing dialogue using markdown, as it causes the quotation mark to wrap and look odd.
This issue might be related. Punctuation sometimes causes wrong syntax rendering, or coloring. For example, dot (.) can cause that text in italic is rendered as plain text.
Alex Devero (@alexdevero) the problem you are describing is not related to wrapping. It might be a problem with the tokenizer for markdown. i.e. I can reproduce when word wrapping is off:
Here is a copy-paste friendly version of the text:
"What in the world is going on? This is great,"
-------------------------------------------- ,"
-------------------------------------------- ."
-------------------------------------------- +"
-------------------------------------------- &"
-------------------------------------------- !"
-------------------------------------------- ?"
-------------------------------------------- /"
-------------------------------------------- -"
Activity
alexdevero commentedon Apr 16, 2018
This issue might be related. Punctuation sometimes causes wrong syntax rendering, or coloring. For example, dot (
.) can cause that text in italic is rendered as plain text.With dot (

.):Without dot (

.):alexdima commentedon Apr 16, 2018
Alex Devero (@alexdevero) the problem you are describing is not related to wrapping. It might be a problem with the tokenizer for markdown. i.e. I can reproduce when word wrapping is off:

Please create a separate issue
alexdima commentedon Jan 10, 2020
Here is a copy-paste friendly version of the text:
And settings:
And the current result:

alexdima commentedon Nov 16, 2020
This has been fixed in the meantime: