We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bea3f96 commit 1c92b16Copy full SHA for 1c92b16
app/src/main/java/it/niedermann/owncloud/notes/edit/NotePreviewFragment.java
@@ -126,6 +126,7 @@ protected void onNoteLoaded(Note note) {
126
super.onNoteLoaded(note);
127
noteLoaded = true;
128
registerInternalNoteLinkHandler();
129
+ binding.singleNoteContent.setMarkdownImageUrlPrefix(repo.getAccountById(note.getAccountId()).getUrl()+"/index.php/apps/notes/notes/"+note.getRemoteId()+"/attachment?path=");
130
changedText = note.getContent();
131
binding.singleNoteContent.setMarkdownString(note.getContent(), setScrollY);
132
binding.singleNoteContent.getMarkdownString().observe(requireActivity(), (newContent) -> {
0 commit comments