diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-12-06 14:30:48 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-12-06 14:30:48 +0000 |
| commit | 91d286aa2aadab7822f7ad05e93088c617bda16f (patch) | |
| tree | 5fabd24948db196f0cbfadd3eb18b692ae161e67 | |
| parent | bacf6e2384a434c548231f4ac885600ede4fc8f4 (diff) | |
Ignore v:shapetype
| -rw-r--r-- | NEWS | 2 | ||||
| -rw-r--r-- | mammoth/docx/body_xml.py | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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", |
