diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-12-06 14:33:08 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-12-06 14:33:08 +0000 |
| commit | 647b99931c20f1ba145ad8638707f53c2c76274a (patch) | |
| tree | c94882e474c06951358fcf85784ff3dc400f3432 /lib | |
| parent | c7e4ee337590c524190328b285f754015271626f (diff) | |
Ignore office-word:wrap
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/docx/body-reader.js | 1 | ||||
| -rw-r--r-- | lib/docx/office-xml-reader.js | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/docx/body-reader.js b/lib/docx/body-reader.js index 07c0486..c5d9b02 100644 --- a/lib/docx/body-reader.js +++ b/lib/docx/body-reader.js @@ -252,6 +252,7 @@ var supportedImageTypes = { }; var ignoreElements = { + "office-word:wrap": true, "v:shadow": true, "v:shapetype": true, "w:bookmarkEnd": true, diff --git a/lib/docx/office-xml-reader.js b/lib/docx/office-xml-reader.js index b5231eb..93d1d34 100644 --- a/lib/docx/office-xml-reader.js +++ b/lib/docx/office-xml-reader.js @@ -12,7 +12,8 @@ var xmlNamespaceMap = { "http://schemas.openxmlformats.org/drawingml/2006/picture": "pic", "http://schemas.openxmlformats.org/package/2006/content-types": "content-types", "urn:schemas-microsoft-com:vml": "v", - "http://schemas.openxmlformats.org/markup-compatibility/2006": "mc" + "http://schemas.openxmlformats.org/markup-compatibility/2006": "mc", + "urn:schemas-microsoft-com:office:word": "office-word" }; |
