mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-09-28 18:01:43 +00:00

- there is a bug in deciding if a page has tables before performing table extraction. This logic checks if the id associated with Table type element is True - however, it should be checking if the id is `None` because sometimes the id can be 0 (the first type of element in the page) - the fix updates the logic - adds a unit test for this specific case