diff --git a/docling/models/table_structure_model.py b/docling/models/table_structure_model.py index 1a3f9005..a7679eab 100644 --- a/docling/models/table_structure_model.py +++ b/docling/models/table_structure_model.py @@ -234,7 +234,7 @@ class TableStructureModel(BasePageModel): tcells = table_cluster.cells tokens = [] for c in tcells: - # Only allow non empty stings (spaces) into the cells of a table + # Only allow non empty strings (spaces) into the cells of a table if len(c.text.strip()) > 0: new_cell = copy.deepcopy(c) new_cell.rect = BoundingRectangle.from_bounding_box(