-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Blank lines in Hovers are unexpectedly removed #10311
Comments
stuff is being send through markdown... |
Does this mean it's intended or is this just notes on investigation? |
@jrieken I think the fix for this may have introduced more spacing than expected. Check out this sample (this is Insiders dated 26th Aug):
and here's how it renders: |
That's a problem with list-tag-element we are tracking separately |
@jrieken Great; thanks. I can't find a case so if you know what it's called so I can subscribe to it let, let me know (not a big deal if not easy to find though). Thanks! |
@jrieken Did anything change in yesterday/todays Insiders that would cause this to come back? It doesn't look like there were any more changes to the file you updated, but in Insiders I'm seeing it broken again? |
Here's a screenshot from last week vs today: The string I'm returning is:
|
@DanTup Do not comment on closed issues esp not with stuff like 'I also saw this thing' |
@jrieken Apologies, but I'm seeing the same issue that I raised this case for so I figured you'd rather re-open the existing case than get an exact dupe. There are a couple of closed issues I commented on; should I always raise new issues even if they're the same or relating to the fix? |
@DanTup You might want to follow #2330, I will give hover a well deserved facelift. I'll mark this as a duplicate. What @jrieken meant with his first comment is that the text rendered there is Markdown, which doesn't preserve whitespace unless you wrap the text in triple backticks, like this:
|
@joaomoreno Cool; I was thinking the hovers could be tidied up a little :) Markdown normally preserves normal space between paragraphs, lines aren't all shoved together. However I raised #11409 after @jrieken requested not to comment on closed issues, there's some better discussion about this there :-) |
A user of my extension raised an issue reporting that blank lines are unexpectedly stripped from tooltips:
This seems to be being done by Code. Is there something I need to do to preserve them?
Both this user and I would expect them to remain. An extension can strip them out if that's how it chooses to display them but it seems strange/unexpected if they're always stripped for us.
The text was updated successfully, but these errors were encountered: