From 1119101f65e1058c49bb5399deae17b1123090f3 Mon Sep 17 00:00:00 2001 From: celogeek <65178+celogeek@users.noreply.github.com> Date: Fri, 28 Apr 2023 17:49:29 +0200 Subject: [PATCH] fix space require detection --- internal/epub/templates/epub_templates_content.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/epub/templates/epub_templates_content.go b/internal/epub/templates/epub_templates_content.go index 330eb35..ae1bca0 100644 --- a/internal/epub/templates/epub_templates_content.go +++ b/internal/epub/templates/epub_templates_content.go @@ -185,7 +185,7 @@ func getSpine(o *ContentOptions) []tag { {"itemref", tagAttrs{"idref": "page_title", "properties": getSpread(false)}, ""}, } for _, img := range o.Images { - if img.DoublePage && isOnTheRight { + if img.DoublePage && o.ImageOptions.Manga == isOnTheRight { spine = append(spine, tag{ "itemref", tagAttrs{"idref": img.SpaceKey(), "properties": getSpread(false) + " layout-blank"},