chore: typo fix

Signed-off-by: nkh0472 <67589323+nkh0472@users.noreply.github.com>
This commit is contained in:
nkh0472 2025-04-26 17:08:30 +08:00 committed by GitHub
parent 980cc076e0
commit e6387b3d47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -234,7 +234,7 @@ class TableStructureModel(BasePageModel):
tcells = table_cluster.cells tcells = table_cluster.cells
tokens = [] tokens = []
for c in tcells: 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: if len(c.text.strip()) > 0:
new_cell = copy.deepcopy(c) new_cell = copy.deepcopy(c)
new_cell.rect = BoundingRectangle.from_bounding_box( new_cell.rect = BoundingRectangle.from_bounding_box(