mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:33:12 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ def epubify_markup(self, root, log):
|
|||
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…
Reference in a new issue