From a393a6e0effed813722f20c08f0fd1b0120f60b1 Mon Sep 17 00:00:00 2001 From: daniel-j Date: Thu, 20 Aug 2020 09:26:29 +0200 Subject: [PATCH] Fix includeAuthorNotes option --- src/FimFic2Epub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FimFic2Epub.js b/src/FimFic2Epub.js index 995a4ba..bc97059 100644 --- a/src/FimFic2Epub.js +++ b/src/FimFic2Epub.js @@ -412,7 +412,7 @@ class FimFic2Epub extends EventEmitter { link: this.options.addCommentsLink ? ch.link : null, linkNotes: this.options.includeAuthorNotes && this.options.useAuthorNotesIndex && chapter.notes ? 'note_' + zeroFill(3, i + 1) + '.xhtml' : null, content: content, - notes: !this.options.useAuthorNotesIndex ? chapter.notes : '', + notes: this.options.includeAuthorNotes && !this.options.useAuthorNotesIndex ? chapter.notes : '', notesFirst: chapter.notesFirst, index: i })).then((html) => {