mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-05-03 20:13:50 +12:00
Fix includeAuthorNotes option
This commit is contained in:
parent
e67d4f4637
commit
a393a6e0ef
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue