From bacf6e2384a434c548231f4ac885600ede4fc8f4 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 6 Dec 2015 12:36:44 +0000 Subject: Ignore v:shadow --- NEWS | 2 ++ mammoth/docx/body_xml.py | 1 + 2 files changed, 3 insertions(+) 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", -- cgit v1.2.3