aboutsummaryrefslogtreecommitdiff
path: root/lib/docx/document-xml-reader.js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2014-07-17 14:54:09 +0100
committerJohn McLear <john@mclear.co.uk>2014-07-17 14:54:09 +0100
commitdee71ef0fc6f21aee4c4685dd67b721147cbb159 (patch)
tree4491fd7cfc810cea706a3e0bee0de599a4aa8368 /lib/docx/document-xml-reader.js
parentfa380c6232176c13120211594ff49e8bca5f149a (diff)
underline support and test coverage for underline
Diffstat (limited to 'lib/docx/document-xml-reader.js')
-rw-r--r--lib/docx/document-xml-reader.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/docx/document-xml-reader.js b/lib/docx/document-xml-reader.js
index 84773e9..e0a8ad3 100644
--- a/lib/docx/document-xml-reader.js
+++ b/lib/docx/document-xml-reader.js
@@ -131,6 +131,7 @@ function DocumentXmlReader(options) {
}
}
properties.isBold = !!element.first("w:b");
+ properties.isUnderline = !!element.first("w:u");
properties.isItalic = !!element.first("w:i");
return new Result(properties);