diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/markdownToolbar.component.ts b/src/sql/workbench/contrib/notebook/browser/cellViews/markdownToolbar.component.ts index e1eb166416..fe98188416 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/markdownToolbar.component.ts +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/markdownToolbar.component.ts @@ -244,7 +244,7 @@ export class MarkdownToolbarComponent extends AngularDisposable { let linkUrl = notebookLink.getLinkUrl(); // Otherwise, re-focus on the output element, and insert the link directly. this.output?.nativeElement?.focus(); - document.execCommand('insertHTML', false, `${escape(linkCalloutResult?.insertUnescapedLinkLabel)}`); + document.execCommand('insertHTML', false, `${escape(linkCalloutResult?.insertUnescapedLinkLabel)}`); return; } } else if (type === MarkdownButtonType.IMAGE_PREVIEW) {