aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--mammoth/docx/body_xml.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 138b5ab..e1e78ae 100644
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,7 @@
* Read children of v:roundrect.
-* Ignore v:shadow.
+* Ignore v:shadow and v:shapetype.
# 0.3.24
diff --git a/mammoth/docx/body_xml.py b/mammoth/docx/body_xml.py
index fc57070..a627df9 100644
--- a/mammoth/docx/body_xml.py
+++ b/mammoth/docx/body_xml.py
@@ -43,6 +43,7 @@ class _BodyReader(object):
def _create_reader(numbering, content_types, relationships, styles, docx_file, files):
_ignored_elements = set([
"v:shadow",
+ "v:shapetype",
"w:bookmarkStart",
"w:bookmarkEnd",
"w:sectPr",