mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +00:00
chore: typo fix
Signed-off-by: nkh0472 <67589323+nkh0472@users.noreply.github.com>
This commit is contained in:
parent
980cc076e0
commit
e6387b3d47
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user