diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-12-30 10:07:26 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-12-30 10:07:26 +0000 |
| commit | 6448068c17db2ee0c8a52793314a98f74e3211e6 (patch) | |
| tree | da8574bcec1541b528699c21d3dacd73ce140cc9 | |
| parent | 237d861c147fd6027b68c910425ebb361dd7b0e2 (diff) | |
Add children to empty element
| -rw-r--r-- | mammoth/docx/xmlparser.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mammoth/docx/xmlparser.py b/mammoth/docx/xmlparser.py index 2e22cec..1ba415d 100644 --- a/mammoth/docx/xmlparser.py +++ b/mammoth/docx/xmlparser.py @@ -42,6 +42,7 @@ class XmlElementList(object): class NullXmlElement(object): attributes = {} + children = [] def find_child_or_null(self, name): return self |
