mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Fix for relative links not being resolved in notebook outputs (#7966)
* Fix for relative links not being resolved * Add comment
This commit is contained in:
@@ -190,7 +190,9 @@ export class NotebookMarkdownRenderer {
|
||||
}
|
||||
}
|
||||
try {
|
||||
if (URI.parse(href)) {
|
||||
// The call to resolveUrl() (where relative hrefs are converted to absolute ones) comes after this point
|
||||
// Therefore, we only want to return immediately if the path is absolute here
|
||||
if (URI.parse(href) && path.isAbsolute(href)) {
|
||||
return href;
|
||||
}
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user