Skip to content
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

Escape the hover text. #650

Merged
merged 3 commits into from Jul 17, 2019
Merged

Escape the hover text. #650

merged 3 commits into from Jul 17, 2019

Conversation

LoneBoco
Copy link
Contributor

In C#, you can get hover text that contains angle brackets. Angle brackets don't need to be escaped in markdown. The problem is that mdpopups.md2html doesn't escape our angle brackets and causes invalid HTML to be generated, so let's escape our hover text before we toss it into md2html.

In C#, you can get hover text that contains angle brackets.  Angle brackets don't need to be escaped in markdown.  The problem is that mdpopups.md2html doesn't escape our angle brackets and causes invalid HTML to be generated, so let's escape our hover text before we toss it into md2html.
Copy link
Member

@rwols rwols left a comment

Choose a reason for hiding this comment

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

LGTM

@coveralls
Copy link

Coverage Status

Coverage remained the same at 38.015% when pulling 7c6403b on LoneBoco:fix-escape-hover into 6956769 on tomv564:master.

@rwols rwols merged commit c9a7390 into sublimelsp:master Jul 17, 2019
@LoneBoco LoneBoco deleted the fix-escape-hover branch July 17, 2019 22:37
rwols added a commit that referenced this pull request Jul 20, 2019
rwols added a commit that referenced this pull request Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants