fix(client): unescaped HTML in bookmarked notes & folders

This commit is contained in:
Elian Doran
2024-12-22 22:23:26 +02:00
parent 0bad36b9f2
commit 9bdee7afff
2 changed files with 10 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ export default class OpenNoteButtonWidget extends OnClickButtonWidget {
this.noteToOpen = noteToOpen;
this.title(() => this.noteToOpen.title)
this.title(() => utils.escapeHtml(this.noteToOpen.title))
.icon(() => this.noteToOpen.getIcon())
.onClick((widget, evt) => this.launch(evt))
.onAuxClick((widget, evt) => this.launch(evt))