mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-13 10:42:17 -04:00
DOCX: Fix margins / positioning of floating tables
This commit is contained in:
@@ -79,7 +79,7 @@ def read_spacing(parent, dest):
|
||||
def read_float(parent, dest):
|
||||
ans = inherit
|
||||
for x in XPath('./w:tblpPr')(parent):
|
||||
ans = x.attrib
|
||||
ans = {k.rpartition('}')[-1]: v for k, v in x.attrib.iteritems()}
|
||||
setattr(dest, 'float', ans)
|
||||
|
||||
def read_indent(parent, dest):
|
||||
|
||||
Reference in New Issue
Block a user