Fix escaping and wrapping in vscode hover #69893
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves dotnet/vscode-csharp#6275
Resolves dotnet/vscode-csharp#6328
Now looks like
![wrapped_hover](https://private-user-images.githubusercontent.com/5749229/267173762-fa1fa29d-34db-4c4d-9bda-084104372e04.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDU1NTMsIm5iZiI6MTczOTY0NTI1MywicGF0aCI6Ii81NzQ5MjI5LzI2NzE3Mzc2Mi1mYTFmYTI5ZC0zNGRiLTRjNGQtOWJkYS0wODQxMDQzNzJlMDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTg0NzMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGJiYTk1MjAwOTYwZGY4MDg1ZDQ2MTFlZTFhMGYzZjYwOTVmZmNmOGQ3ODE5N2NkNWI2ZWVlYzg2YmI0NmRmMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc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