mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
ODT Input: Fix images specified with top offsets overlapping text when converted to EPUB. Fixes #884759 (Image size detection problem while converting to OEB)
This commit is contained in:
parent
8d319b7630
commit
061ed389ca
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user