mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-07 06:25:26 -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:
@@ -629,7 +629,7 @@ class Convert(object):
|
||||
if last_run[-1][1] == style:
|
||||
last_run.append((html_obj, style))
|
||||
else:
|
||||
self.framed.append((html_obj, style))
|
||||
self.framed[-1].append((html_obj, style))
|
||||
else:
|
||||
last_run.append((html_obj, style))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user