mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 18:25:51 +01:00
fix(client): unescaped HTML in bookmarked notes & folders
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user