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