aboutsummaryrefslogtreecommitdiff
path: root/mammoth/documents.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2025-06-08 00:22:01 +0100
committerMichael Williamson <mike@zwobble.org>2025-06-08 00:22:01 +0100
commit80e9fd089494996def1e2529d1fa127d3ee796dd (patch)
treeb54aa0b0959e5c83c43a78958669070e95e3fae8 /mammoth/documents.py
parentcc1ad1d283264284e10beeff33b140abc16156d3 (diff)
Handle SDTs representing checkboxes wrapped in other elements
Diffstat (limited to 'mammoth/documents.py')
-rw-r--r--mammoth/documents.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mammoth/documents.py b/mammoth/documents.py
index f9c0665..e874775 100644
--- a/mammoth/documents.py
+++ b/mammoth/documents.py
@@ -92,6 +92,9 @@ class TableCellUnmerged:
rowspan = cobble.field()
vmerge = cobble.field()
+ def copy(self, **kwargs):
+ return cobble.copy(self, **kwargs)
+
@cobble.data
class Break(Element):
break_type = cobble.field()