From 80e9fd089494996def1e2529d1fa127d3ee796dd Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 8 Jun 2025 00:22:01 +0100 Subject: Handle SDTs representing checkboxes wrapped in other elements --- mammoth/documents.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mammoth/documents.py') 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() -- cgit v1.2.3