aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-12-06 12:36:44 +0000
committerMichael Williamson <mike@zwobble.org>2015-12-06 12:36:44 +0000
commitbacf6e2384a434c548231f4ac885600ede4fc8f4 (patch)
tree936c86691e94e794b3fb35697a0d10358977d277
parent69e58a1990fa5ac123adf3c4c9ac46873d59fb7f (diff)
Ignore v:shadow
-rw-r--r--NEWS2
-rw-r--r--mammoth/docx/body_xml.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index c9d9e0a..138b5ab 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@
* Read children of v:roundrect.
+* Ignore v:shadow.
+
# 0.3.24
* Continue with warning if external images cannot be found.
diff --git a/mammoth/docx/body_xml.py b/mammoth/docx/body_xml.py
index f086f61..fc57070 100644
--- a/mammoth/docx/body_xml.py
+++ b/mammoth/docx/body_xml.py
@@ -42,6 +42,7 @@ class _BodyReader(object):
def _create_reader(numbering, content_types, relationships, styles, docx_file, files):
_ignored_elements = set([
+ "v:shadow",
"w:bookmarkStart",
"w:bookmarkEnd",
"w:sectPr",