aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
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 264f7c9..f424acf 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -125,6 +125,9 @@ function DocumentConversion(options) {
if (run.isUnderline) {
convertUnderline(runHtml);
}
+ if (run.isStrikethrough) {
+ runHtml.open(htmlPaths.element("s"));
+ }
convertElements(run.children, runHtml, messages, function(err) {
if (err) {
callback(err);