sanitize note title

This commit is contained in:
zadam
2022-07-05 22:40:41 +02:00
parent e7db262559
commit 4fc686bbbc
9 changed files with 21 additions and 13 deletions

View File

@@ -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)