diff --git a/src/beginner-tips/index.ts b/src/beginner-tips/index.ts
index 657c0bd4..5ac6b427 100644
--- a/src/beginner-tips/index.ts
+++ b/src/beginner-tips/index.ts
@@ -109,11 +109,13 @@ class BeginnerTipsPage {
// Use a nonce to whitelist which scripts can be run
const nonce = getNonce();
+ const cspSource = this._panel!.webview.cspSource;
return `
+
${WEBVIEW_TITLE}
diff --git a/src/ext-guide/index.ts b/src/ext-guide/index.ts
index c73b0e0c..7c3aa7fc 100644
--- a/src/ext-guide/index.ts
+++ b/src/ext-guide/index.ts
@@ -74,10 +74,12 @@ function getHtmlForWebview(webviewPanel: vscode.WebviewPanel, scriptPath: string
// Use a nonce to whitelist which scripts can be run
const nonce = getNonce();
+ const cspSource = webviewPanel.webview.cspSource;
return `
+
Java Extensions Guide
diff --git a/src/formatter-settings/index.ts b/src/formatter-settings/index.ts
index 4eeed8f6..06298b76 100644
--- a/src/formatter-settings/index.ts
+++ b/src/formatter-settings/index.ts
@@ -158,10 +158,12 @@ export class JavaFormatterSettingsEditorProvider implements vscode.CustomTextEdi
// Use a nonce to whitelist which scripts can be run
const nonce = getNonce();
+ const cspSource = this.webviewPanel!.webview.cspSource;
return `
+
Java Formatter Settings
diff --git a/src/install-jdk/index.ts b/src/install-jdk/index.ts
index 96a44c89..ab4a2468 100644
--- a/src/install-jdk/index.ts
+++ b/src/install-jdk/index.ts
@@ -143,11 +143,13 @@ class InstallJdkPage {
// Use a nonce to whitelist which scripts can be run
const nonce = getNonce();
+ const cspSource = this._panel!.webview.cspSource;
return `
+
React App
diff --git a/src/java-runtime/index.ts b/src/java-runtime/index.ts
index 86e06f9b..e3c17e9a 100644
--- a/src/java-runtime/index.ts
+++ b/src/java-runtime/index.ts
@@ -165,11 +165,13 @@ function getHtmlForWebview(webviewPanel: vscode.WebviewPanel, scriptPath: string
// Use a nonce to whitelist which scripts can be run
const nonce = getNonce();
+ const cspSource = webviewPanel.webview.cspSource;
return `
+
Configure Java Runtime
diff --git a/src/overview/index.ts b/src/overview/index.ts
index ff48b7ca..6a916813 100644
--- a/src/overview/index.ts
+++ b/src/overview/index.ts
@@ -114,11 +114,13 @@ function getHtmlForWebview(webviewPanel: vscode.WebviewPanel, scriptPath: string
// Use a nonce to whitelist which scripts can be run
const nonce = getNonce();
+ const cspSource = webviewPanel.webview.cspSource;
return `
+
Java Overview
diff --git a/src/project-settings/projectSettingsView.ts b/src/project-settings/projectSettingsView.ts
index f1833358..b14fb424 100644
--- a/src/project-settings/projectSettingsView.ts
+++ b/src/project-settings/projectSettingsView.ts
@@ -195,10 +195,12 @@ class ProjectSettingView {
// Use a nonce to whitelist which scripts can be run
const nonce = getNonce();
+ const cspSource = webview.cspSource;
return `
+
Project Settings
diff --git a/src/welcome/index.ts b/src/welcome/index.ts
index 03206d65..92ef4ec6 100644
--- a/src/welcome/index.ts
+++ b/src/welcome/index.ts
@@ -104,10 +104,12 @@ function getHtmlForWebview(webviewPanel: vscode.WebviewPanel, scriptPath: string
// Use a nonce to whitelist which scripts can be run
const nonce = getNonce();
+ const cspSource = webviewPanel.webview.cspSource;
return `
+
Java Help Center