From 061ed389ca3165bfd92d7d87a66614f8f1e44908 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 11 Nov 2011 10:42:16 +0530 Subject: [PATCH] ODT Input: Fix images specified with top offsets overlapping text when converted to EPUB. Fixes #884759 (Image size detection problem while converting to OEB) --- src/calibre/ebooks/odt/input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/odt/input.py b/src/calibre/ebooks/odt/input.py index 4e6bf5a4e2..6959f16a43 100644 --- a/src/calibre/ebooks/odt/input.py +++ b/src/calibre/ebooks/odt/input.py @@ -65,7 +65,7 @@ class Extract(ODF2XHTML): div1 = div2.getparent() if len(div1) == len(div2) == 1: style = div2.attrib['style'] - div2.attrib['style'] = 'display:inline;'+style + div2.attrib['style'] = 'position:static;display:inline;'+style def filter_css(self, root, log):