mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	fix image display with slash in title, closes #3591
This commit is contained in:
		@@ -90,7 +90,7 @@ class ImageTypeWidget extends TypeWidget {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    async doRefresh(note) {
 | 
					    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}) {
 | 
					    copyImageReferenceToClipboardEvent({ntxId}) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user