aboutsummaryrefslogtreecommitdiff
path: root/mammoth/document_matchers.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-06-17 15:54:29 +0100
committerMichael Williamson <mike@zwobble.org>2015-06-17 15:54:29 +0100
commitcd2a10d64f6f2a1a42c1a3f0c144a3a521083cd8 (patch)
treea251f341d5181ef347636e4d5ab3657782d8367b /mammoth/document_matchers.py
parent3bfa77d64e69d20609c8321a067bfa2651a7eabc (diff)
Allow strikethrough to be configured in style mapping
Diffstat (limited to 'mammoth/document_matchers.py')
-rw-r--r--mammoth/document_matchers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mammoth/document_matchers.py b/mammoth/document_matchers.py
index 07d5be2..9f05a8e 100644
--- a/mammoth/document_matchers.py
+++ b/mammoth/document_matchers.py
@@ -19,3 +19,7 @@ RunMatcher.element_type = "run"
class underline(object):
element_type = "underline"
+
+
+class strikethrough(object):
+ element_type = "strikethrough"