diff options
Diffstat (limited to 'lib/document-to-html.js')
| -rw-r--r-- | lib/document-to-html.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js index 83e78fd..0dac05e 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -127,6 +127,9 @@ function DocumentConversion(options, comments) { return convertElements(run.children, messages, options); }; var paths = []; + if (run.isSmallCaps) { + paths.push(findHtmlPathForRunProperty("smallCaps")); + } if (run.isStrikethrough) { paths.push(findHtmlPathForRunProperty("strikethrough", "s")); } @@ -145,9 +148,6 @@ 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) { |
