diff --git a/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js b/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js index 5fb945732ccda..389a4b89a2edd 100644 --- a/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js +++ b/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js @@ -197,7 +197,7 @@ newDocument.querySelectorAll('a').forEach(a => { if (!a.title) { - a.title = a.href; + a.title = a.getAttribute('href'); } });