diff --git a/src/imxml2epub.py b/src/imxml2epub.py index c4536e1..f435020 100755 --- a/src/imxml2epub.py +++ b/src/imxml2epub.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8; mode: python -*- -# Time-stamp: <2021-06-22 19:31:21 (kthoden)> +# Time-stamp: <2021-06-23 09:02:36 (kthoden)> """ Convert a customized DocBook XML file into a set of files that constitute the contents of an EPUB file. @@ -1593,6 +1593,8 @@ class FootnoteError(Exception): xmlTable.remove(xmlTable.find(".//EOAtablelabel")) else: logging.info("Table has no caption") + xmlTable.find(".//EOAtablelabel").clear() + xmlTable.remove(xmlTable.find(".//EOAtablelabel")) xmlTable.find(".//EOAtablecaption").clear() xmlTable.remove(xmlTable.find(".//EOAtablecaption")) # Analyze Width and Alignment of the Columns