We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c05e0a4 + e74ffac commit 9f2f330Copy full SHA for 9f2f330
1 file changed
ide/markdown/src/org/netbeans/modules/markdown/MarkdownViewerElement.java
@@ -243,6 +243,7 @@ public void updateView() {
243
HTMLEditorKit kit = (HTMLEditorKit) viewer.getEditorKit();
244
245
HTMLDocument doc = (HTMLDocument) viewer.getDocument();
246
+ doc.setBase(dataObject.getPrimaryFile().getParent().toURL());
247
248
// Would be better to create some diff and update the changed elemets
249
doc.remove(0, doc.getLength());
0 commit comments