mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-02 07:22:14 +00:00
returned try-catch on tables handling
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
parent
9569214afb
commit
d8b4c07173
@ -141,10 +141,10 @@ class MsWordDocumentBackend(DeclarativeDocumentBackend):
|
|||||||
|
|
||||||
# Check for Tables
|
# Check for Tables
|
||||||
if element.tag.endswith("tbl"):
|
if element.tag.endswith("tbl"):
|
||||||
# try:
|
try:
|
||||||
self.handle_tables(element, docx_obj, doc)
|
self.handle_tables(element, docx_obj, doc)
|
||||||
# except Exception:
|
except Exception:
|
||||||
# _log.debug("could not parse a table, broken docx table")
|
_log.debug("could not parse a table, broken docx table")
|
||||||
|
|
||||||
elif found_drawing or found_pict:
|
elif found_drawing or found_pict:
|
||||||
self.handle_pictures(element, docx_obj, doc)
|
self.handle_pictures(element, docx_obj, doc)
|
||||||
|
Loading…
Reference in New Issue
Block a user