From f7cfac642bf63fac77c99d4cc30601ded8b2c107 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 5 Nov 2020 19:35:33 +0000 Subject: Add style mapping for all caps --- 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 2267933..32e8b03 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -130,6 +130,9 @@ function DocumentConversion(options, comments) { if (run.isSmallCaps) { paths.push(findHtmlPathForRunProperty("smallCaps")); } + if (run.isAllCaps) { + paths.push(findHtmlPathForRunProperty("allCaps")); + } if (run.isStrikethrough) { paths.push(findHtmlPathForRunProperty("strikethrough", "s")); } -- cgit v1.2.3