aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2020-11-05 19:35:33 +0000
committerMichael Williamson <mike@zwobble.org>2020-11-05 19:35:33 +0000
commitf7cfac642bf63fac77c99d4cc30601ded8b2c107 (patch)
tree771fee9fc5c43e54f94a4f6bb7475edec50cda8e /lib/document-to-html.js
parente832f604e34d344d996f8101023b6272085f934c (diff)
Add style mapping for all caps
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 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"));
}