From 1dfc37704fdd90ab7afbd8a586bdfc5cfaadeb8a Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 10 Jul 2022 22:32:00 +0200 Subject: [PATCH] fix note title escaping in export dialog --- src/public/app/widgets/dialogs/export.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/public/app/widgets/dialogs/export.js b/src/public/app/widgets/dialogs/export.js index 5e4909b95..5727aa5e2 100644 --- a/src/public/app/widgets/dialogs/export.js +++ b/src/public/app/widgets/dialogs/export.js @@ -213,10 +213,7 @@ export default class ExportDialog extends BasicWidget { const {noteId, parentNoteId} = treeService.getNoteIdAndParentIdFromNotePath(notePath); this.branchId = await froca.getBranchId(parentNoteId, noteId); - - const noteTitle = await treeService.getNoteTitle(noteId); - - this.$noteTitle.html(noteTitle); + this.$noteTitle.text(await treeService.getNoteTitle(noteId)); } exportBranch(branchId, type, format, version) {