Skip to content

Commit

Permalink
fix note title escaping in export dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Jul 10, 2022
1 parent ea3bce2 commit 1dfc377
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/public/app/widgets/dialogs/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1dfc377

Please sign in to comment.