From cd2a10d64f6f2a1a42c1a3f0c144a3a521083cd8 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 17 Jun 2015 15:54:29 +0100 Subject: Allow strikethrough to be configured in style mapping --- mammoth/document_matchers.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mammoth/document_matchers.py') 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" -- cgit v1.2.3