Repository navigation
fix: hover link encode unnecessarily - #112670
Alexandru Dima (alexdima) merged 1 commit into
Conversation
|
The reason for this problem is that if you pass in a URI link, it'll call the toString function to display it .And the toString function of the URI will by default encode. So is there a need for encode? If not, we can solve this problem by toString(true). |
Matt Bierner (mjbvz)
left a comment
There was a problem hiding this comment.
Fixing this in core VS Code feels risky since it will effect all languages.
Can you try tracking down why markdown generates a command link that gets corrupted by this encoding?
|
The current Johannes Rieken (@jrieken) We need a bit of help here. Here we generate markdown that later on gets clicked on and reaches the opener service. What is the best way to include this link in the markdown? With |
The |
|
OK, then I will accept the PR on the hover side. But Johannes Rieken (@jrieken) the markdown link provider is stuck with using |
|
Thank you chenjg88 (@chenjigeng) To reproduce: [example](https://www.example.com?encoded=unnecessarily) |
Yeah, we have #85930 for that |



This PR fixes #108819