From 40e958c90486dae503111ae82b9966d706d0e8fd Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 19 Feb 2017 18:58:10 +0000 Subject: Fix handling of nested complex fields --- lib/docx/body-reader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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(); -- cgit v1.2.3