We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4797bd4 commit e74ffacCopy full SHA for e74ffac
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