aboutsummaryrefslogtreecommitdiff
path: root/lib/docx/body-reader.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/docx/body-reader.js')
-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 519a50b..732a8d2 100644
--- a/lib/docx/body-reader.js
+++ b/lib/docx/body-reader.js
@@ -322,7 +322,7 @@ function BodyReader(options) {
}
function isBlank(value) {
- return /^\s*$/.test(value);
+ return value == null || /^\s*$/.test(value);
}
function findBlipImageFile(blip) {