mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-05-21 21:03:33 +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,
|
link: this.options.addCommentsLink ? ch.link : null,
|
||||||
linkNotes: this.options.includeAuthorNotes && this.options.useAuthorNotesIndex && chapter.notes ? 'note_' + zeroFill(3, i + 1) + '.xhtml' : null,
|
linkNotes: this.options.includeAuthorNotes && this.options.useAuthorNotesIndex && chapter.notes ? 'note_' + zeroFill(3, i + 1) + '.xhtml' : null,
|
||||||
content: content,
|
content: content,
|
||||||
notes: !this.options.useAuthorNotesIndex ? chapter.notes : '',
|
notes: this.options.includeAuthorNotes && !this.options.useAuthorNotesIndex ? chapter.notes : '',
|
||||||
notesFirst: chapter.notesFirst,
|
notesFirst: chapter.notesFirst,
|
||||||
index: i
|
index: i
|
||||||
})).then((html) => {
|
})).then((html) => {
|
||||||
|
|
Loading…
Reference in a new issue