aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-07-18 14:52:33 +0100
committerMichael Williamson <mike@zwobble.org>2014-07-18 14:52:33 +0100
commitdc42c949f63688ebc953d0427d86c0771dd52f05 (patch)
tree3cb573a351d910db9fe7b2c32ee89c6cc5dd7f89 /lib/document-to-html.js
parent1e3229f72fa925ea3d3c2c2bbb2b5b3082bf230c (diff)
parentdee71ef0fc6f21aee4c4685dd67b721147cbb159 (diff)
Merge remote-tracking branch 'remotes/JohnMcLear/underline' into underline
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 7e37255..35fb3e6 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -100,6 +100,9 @@ function DocumentConversion(options) {
if (run.isBold) {
runHtml.open(htmlPaths.element("strong"));
}
+ if (run.isUnderline) {
+ runHtml.open(htmlPaths.element("u"));
+ }
if (run.isItalic) {
runHtml.open(htmlPaths.element("em"));
}