diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-02-19 18:58:10 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-02-19 18:58:10 +0000 |
| commit | 40e958c90486dae503111ae82b9966d706d0e8fd (patch) | |
| tree | 777504341dd9c6d30b56623dbcaa54d27d34bd05 /lib | |
| parent | ea988e3f229fc25638b8661171721c4a8ca683e3 (diff) | |
Fix handling of nested complex fields
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/docx/body-reader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/docx/body-reader.js b/lib/docx/body-reader.js index a19ecdb..80715ca 100644 --- a/lib/docx/body-reader.js +++ b/lib/docx/body-reader.js @@ -168,7 +168,7 @@ function BodyReader(options) { if (href !== null) { complexFields.push({type: "hyperlink", href: href}); } else { - complexFields.push(null); + complexFields.push({type: "unknown"}); } } return emptyResult(); |
