aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2017-02-19 18:58:10 +0000
committerMichael Williamson <mike@zwobble.org>2017-02-19 18:58:10 +0000
commit40e958c90486dae503111ae82b9966d706d0e8fd (patch)
tree777504341dd9c6d30b56623dbcaa54d27d34bd05 /lib
parentea988e3f229fc25638b8661171721c4a8ca683e3 (diff)
Fix handling of nested complex fields
Diffstat (limited to 'lib')
-rw-r--r--lib/docx/body-reader.js2
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();