aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2017-04-03 10:37:06 +0100
committerMichael Williamson <mike@zwobble.org>2017-04-03 10:37:06 +0100
commit4085795d9b8f1845aff4a4b2eb7e5bc377302bcd (patch)
treecd9df6aab067a1c0856e1694468c8bed42fff2b8 /mammoth/docx
parent401895857fc02d5cab9a41a1f5ea83b3ff11ba40 (diff)
Change order of element reading to match tests
Diffstat (limited to 'mammoth/docx')
-rw-r--r--mammoth/docx/body_xml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/docx/body_xml.py b/mammoth/docx/body_xml.py
index 3495f66..c2d7d44 100644
--- a/mammoth/docx/body_xml.py
+++ b/mammoth/docx/body_xml.py
@@ -414,13 +414,13 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file, f
"w:tr": table_row,
"w:tc": table_cell,
"w:ins": read_child_elements,
+ "w:object": read_child_elements,
"w:smartTag": read_child_elements,
"w:drawing": read_child_elements,
"v:roundrect": read_child_elements,
"v:shape": read_child_elements,
"v:textbox": read_child_elements,
"w:txbxContent": read_child_elements,
- "w:object": read_child_elements,
"w:pict": pict,
"w:hyperlink": hyperlink,
"w:bookmarkStart": bookmark_start,