aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
authorvgmoose <me@vgmoose.com>2017-07-19 16:26:35 -0400
committervgmoose <me@vgmoose.com>2017-07-19 17:24:11 -0400
commit9c9cb3e30d7cae37b42537e59ba38571a9e06097 (patch)
treeaa9cc3096cdf484fcffba4a9513283cf00894ddb /lib/document-to-html.js
parent534f62e0684af52766adf82b8fd5dbf796e018db (diff)
Parse small caps style mappings (see #123)
Diffstat (limited to 'lib/document-to-html.js')
-rw-r--r--lib/document-to-html.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index d0197cb..83e78fd 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -145,6 +145,9 @@ function DocumentConversion(options, comments) {
if (run.isBold) {
paths.push(findHtmlPathForRunProperty("bold", "strong"));
}
+ if (run.isSmallCaps) {
+ paths.push(findHtmlPathForRunProperty("smallCaps"));
+ }
var stylePath = htmlPaths.empty;
var style = findStyle(run);
if (style) {