diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-09-02 23:19:53 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-09-02 23:20:42 +0100 |
| commit | 9d44fe567d20c5a82c4c2a01673325a31794745b (patch) | |
| tree | bd11998f60330017640c56ac0089c6db4487016d /lib | |
| parent | 6e9740534d364c35b82428cf9f1c2bef970d0f28 (diff) | |
Use alt text title if description is missing
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 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) { |
