Skip to content

Commit

Permalink
fixes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
Mtillmann committed Feb 23, 2024
1 parent 880933c commit 7c11278
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 26,997 deletions.
6 changes: 5 additions & 1 deletion src/Formats/FormatBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@ export class FormatBase {
}
});

if ('img_filename' in chapter && 'img' in filtered) {



if ('img_filename' in chapter && 'img' in filtered && chapter.img_type === 'relative') {

filtered.img = filenamify(chapter.img_filename);
}

Expand Down
Loading

0 comments on commit 7c11278

Please sign in to comment.