From 39a3b5bb4bbe4aec5b9ce7cf8cfc062c9685904b Mon Sep 17 00:00:00 2001 From: Ivan Garcia Sainz-Aja Date: Mon, 6 Jan 2025 13:53:47 +0100 Subject: [PATCH] rolling back #240 because introduces this regresion ##247 --- src/PreviewWebPanel.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/PreviewWebPanel.ts b/src/PreviewWebPanel.ts index aaa8c18..6fb3648 100644 --- a/src/PreviewWebPanel.ts +++ b/src/PreviewWebPanel.ts @@ -107,7 +107,7 @@ function getWebviewContent(context: vscode.ExtensionContext, webview: vscode.Web const asyncapiWebviewUri = webview.asWebviewUri(asyncapiFile); const asyncapiBasePath = asyncapiWebviewUri.toString().replace('%2B', '+'); // this is loaded by a different library so it requires unescaping the + character const asyncapiContent = fs.readFileSync(asyncapiFile.fsPath, 'utf-8'); - + const html = ` @@ -134,9 +134,11 @@ function getWebviewContent(context: vscode.ExtensionContext, webview: vscode.Web