diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-02-25 19:28:11 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-02-25 19:28:11 +0000 |
| commit | 137f9e20d36df58590dedad6f0ab885ed435e2dd (patch) | |
| tree | 7d333ed45fd5a60d2f8837bf32561aecc07ca714 /lib/document-to-html.js | |
| parent | 63dff589c822e8256ff8e6b38f78e696ba734c44 (diff) | |
Allow italic runs to be configured using style mapping
Diffstat (limited to 'lib/document-to-html.js')
| -rw-r--r-- | lib/document-to-html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js index ab02b64..cb5ec16 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -119,7 +119,7 @@ function DocumentConversion(options) { result = wrapInNonFreshElement(result, "sup"); } if (run.isItalic) { - result = wrapInNonFreshElement(result, "em"); + result = convertRunProperty(result, "italic", "em"); } if (run.isBold) { result = convertRunProperty(result, "bold", "strong"); |
