mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Fix bad old command form being sent from markdown preview
This commit is contained in:
parent
7398d3be89
commit
f9765ffb9f
|
@ -262,7 +262,7 @@
|
|||
}
|
||||
if (node.href.startsWith('file://')) {
|
||||
const [path, fragment] = node.href.replace(/^file:\/\//i, '').split('#');
|
||||
postMessage('_markdown.openDocumentLink', { path, fragment });
|
||||
postMessage('_markdown.openDocumentLink', [{ path, fragment }]);
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue