diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 7c512cf..04115c9 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -126,9 +126,10 @@ def buildHTML(path, imgfile, imgfilepath, imgfile2=None): "\n", "\n", "
\n", - # this display none div fixes formatting issues with virtual panel mode, for some reason - '
.
\n', ]) + if options.iskindle: + # this display none div fixes formatting issues with virtual panel mode, for some reason + f.write('
.
\n') f.write(f'\n') if imgfile2: f.write(f'\n')