From dc53892204989de1788081624c65062dc283480a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 17 Jun 2015 15:32:53 +0100 Subject: Add support for strikethrough --- lib/document-to-html.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/document-to-html.js') 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); -- cgit v1.2.3