mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
DOCX Input: Fix error when converting document with nested frames. Fixes #1317543 [Conversion of a particular DOCX file](https://bugs.launchpad.net/calibre/+bug/1317543)
This commit is contained in:
parent
f8940541cf
commit
d3c67c72fd
@ -629,7 +629,7 @@ class Convert(object):
|
|||||||
if last_run[-1][1] == style:
|
if last_run[-1][1] == style:
|
||||||
last_run.append((html_obj, style))
|
last_run.append((html_obj, style))
|
||||||
else:
|
else:
|
||||||
self.framed.append((html_obj, style))
|
self.framed[-1].append((html_obj, style))
|
||||||
else:
|
else:
|
||||||
last_run.append((html_obj, style))
|
last_run.append((html_obj, style))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user