We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52fb907 commit c1c3e5eCopy full SHA for c1c3e5e
extensions/markdown-language-features/src/commands/openDocumentLink.ts
@@ -25,7 +25,7 @@ export class OpenDocumentLinkCommand implements Command {
25
path: string,
26
fragment: string
27
): vscode.Uri {
28
- return vscode.Uri.parse(`command:${OpenDocumentLinkCommand.id}?${encodeURIComponent(JSON.stringify({ path, fragment }))}`);
+ return vscode.Uri.parse(`command:${OpenDocumentLinkCommand.id}?${encodeURIComponent(JSON.stringify({ path: encodeURIComponent(path), fragment }))}`);
29
}
30
31
public constructor(
0 commit comments