Skip to content

Commit

Permalink
Add children to empty element
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilliamson committed Dec 30, 2024
1 parent 237d861 commit 6448068
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mammoth/docx/xmlparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def find_children(self, name):

class NullXmlElement(object):
attributes = {}
children = []

def find_child_or_null(self, name):
return self
Expand Down

0 comments on commit 6448068

Please sign in to comment.