马一丁

AttributeError when collecting blocks from non-dict table cells

... ... @@ -914,6 +914,7 @@ class HTMLRenderer:
return collected
if payload.get("cells") and not block_type:
for cell in payload["cells"]:
if isinstance(cell, dict):
collected.extend(self._collect_blocks_from_payload(cell.get("blocks")))
return collected
if payload.get("items") and not block_type:
... ...