mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
sanitize note title
This commit is contained in:
@@ -266,7 +266,7 @@ class NoteListRenderer {
|
||||
.append($expander)
|
||||
.append($('<span class="note-icon">').addClass(note.getIcon()))
|
||||
.append(this.viewType === 'grid'
|
||||
? note.title
|
||||
? $("<span>").text(note.title)
|
||||
: await linkService.createNoteLink(notePath, {showTooltip: false, showNotePath: this.showNotePath})
|
||||
)
|
||||
.append($renderedAttributes)
|
||||
|
||||
Reference in New Issue
Block a user