diff options
| author | vgmoose <me@vgmoose.com> | 2017-07-19 16:26:35 -0400 |
|---|---|---|
| committer | vgmoose <me@vgmoose.com> | 2017-07-19 17:24:11 -0400 |
| commit | 9c9cb3e30d7cae37b42537e59ba38571a9e06097 (patch) | |
| tree | aa9cc3096cdf484fcffba4a9513283cf00894ddb /lib/document-to-html.js | |
| parent | 534f62e0684af52766adf82b8fd5dbf796e018db (diff) | |
Parse small caps style mappings (see #123)
Diffstat (limited to 'lib/document-to-html.js')
| -rw-r--r-- | lib/document-to-html.js | 3 |
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) { |
