diff options
| author | John McLear <john@mclear.co.uk> | 2014-07-17 14:54:09 +0100 |
|---|---|---|
| committer | John McLear <john@mclear.co.uk> | 2014-07-17 14:54:09 +0100 |
| commit | dee71ef0fc6f21aee4c4685dd67b721147cbb159 (patch) | |
| tree | 4491fd7cfc810cea706a3e0bee0de599a4aa8368 /lib/document-to-html.js | |
| parent | fa380c6232176c13120211594ff49e8bca5f149a (diff) | |
underline support and test coverage for underline
Diffstat (limited to 'lib/document-to-html.js')
| -rw-r--r-- | lib/document-to-html.js | 3 |
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")); } |
