Skip to content

Commit 7c11278

Browse files
committed
fixes #11
1 parent 880933c commit 7c11278

File tree

3 files changed

+11
-26997
lines changed

3 files changed

+11
-26997
lines changed

src/Formats/FormatBase.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,11 @@ export class FormatBase {
206206
}
207207
});
208208

209-
if ('img_filename' in chapter && 'img' in filtered) {
209+
210+
211+
212+
if ('img_filename' in chapter && 'img' in filtered && chapter.img_type === 'relative') {
213+
210214
filtered.img = filenamify(chapter.img_filename);
211215
}
212216

0 commit comments

Comments
 (0)