mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-09 12:01:37 -04:00
Notebooks: Fix relative images not rendering on PC for Markdown Cells (#8091)
* Fix relative images on notebook markdown pc * PR feedback around replace ordering
This commit is contained in:
committed by
Karl Burtram
parent
c1fb00b3f2
commit
761e3d1692
@@ -203,7 +203,7 @@ export class NotebookMarkdownRenderer {
|
||||
href = this.resolveUrl(base, href);
|
||||
}
|
||||
try {
|
||||
href = encodeURI(href).replace(/%25/g, '%');
|
||||
href = encodeURI(href).replace(/%5C/g, '\\').replace(/%25/g, '%');
|
||||
} catch (e) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user