From 9c9cb3e30d7cae37b42537e59ba38571a9e06097 Mon Sep 17 00:00:00 2001 From: vgmoose Date: Wed, 19 Jul 2017 16:26:35 -0400 Subject: Parse small caps style mappings (see #123) --- lib/document-to-html.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/document-to-html.js') 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) { -- cgit v1.2.3