mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-18 11:01:36 -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:
committed by
Karl Burtram
parent
93a28b30c7
commit
d26f4167fb
@@ -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