fix image display with slash in title, closes #3591

pull/255/head
zadam 2023-02-10 10:23:02 +07:00
parent adf222b5e8
commit fc7da015fe
1 changed files with 1 additions and 1 deletions

@ -90,7 +90,7 @@ class ImageTypeWidget extends TypeWidget {
}
async doRefresh(note) {
this.$imageView.prop("src", `api/images/${note.noteId}/${note.title}`);
this.$imageView.prop("src", `api/images/${note.noteId}/${encodeURIComponent(note.title)}`);
}
copyImageReferenceToClipboardEvent({ntxId}) {