mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Decode header suggestions in Markdown path IntelliSense, https://github.com/microsoft/vscode/issues/142330 (#142392)
This commit is contained in:
parent
6e2d82c1bf
commit
a83046f9e6
|
@ -237,7 +237,7 @@ export class PathCompletionProvider implements vscode.CompletionItemProvider {
|
|||
const replacementRange = new vscode.Range(insertionRange.start, position.translate({ characterDelta: context.linkSuffix.length }));
|
||||
yield {
|
||||
kind: vscode.CompletionItemKind.Reference,
|
||||
label: '#' + entry.slug.value,
|
||||
label: '#' + decodeURI(entry.slug.value),
|
||||
range: {
|
||||
inserting: insertionRange,
|
||||
replacing: replacementRange,
|
||||
|
|
Loading…
Reference in a new issue