aboutsummaryrefslogtreecommitdiff
path: root/lib/docx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/docx')
-rw-r--r--lib/docx/body-reader.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/docx/body-reader.js b/lib/docx/body-reader.js
index 7a00164..78c732e 100644
--- a/lib/docx/body-reader.js
+++ b/lib/docx/body-reader.js
@@ -94,7 +94,8 @@ function BodyReader(options) {
isItalic: readBooleanElement(element.first("w:i")),
isStrikethrough: readBooleanElement(element.first("w:strike")),
isAllCaps: readBooleanElement(element.first("w:caps")),
- isSmallCaps: readBooleanElement(element.first("w:smallCaps"))
+ isSmallCaps: readBooleanElement(element.first("w:smallCaps")),
+ highlight: element.firstOrEmpty("w:highlight").attributes["w:val"]
};
});
}