aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-06-17 15:32:53 +0100
committerMichael Williamson <mike@zwobble.org>2015-06-17 15:35:22 +0100
commitdc53892204989de1788081624c65062dc283480a (patch)
tree5efcf80db1a80eb06f29d5c03cdeb97823f1085b /lib/document-to-html.js
parent511f6787dd943fc8a9321bd0e3464eb1e0eef11b (diff)
Add support for strikethrough
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);