Skip to content

Conversation

@huntertran
Copy link
Contributor

Fix issue #245773

By design, markdown ignores single line break \n.
This behavior makes the git blame popup on mouse hover display a single line description for all the texts that has single line break. These line breaks display correctly on Github.com and on most of the git clients.

This fix replaces all the variances of line break (\r, \n, \r\n and \n\n) with double line break \n\n, so the markdown correctly displays line break in the popup

@huntertran huntertran requested a review from lszomoru April 9, 2025 01:24
@lszomoru lszomoru added the git GIT issues label Apr 22, 2025
@lszomoru lszomoru added this to the April 2025 milestone Apr 22, 2025
Copy link
Member

@lszomoru lszomoru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your contribution.

@lszomoru lszomoru enabled auto-merge (squash) April 22, 2025 19:16
@huntertran
Copy link
Contributor Author

@microsoft-github-policy-service agree

@lszomoru lszomoru merged commit 30d16b2 into microsoft:main Apr 23, 2025
7 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jun 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

git GIT issues

3 participants