aboutsummaryrefslogtreecommitdiff
path: root/mammoth/document_matchers.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2017-07-21 12:19:15 +0100
committerMichael Williamson <mike@zwobble.org>2017-07-21 12:19:15 +0100
commit500a2aca545c47b9677bd85e55b9b24dc4ec9c7c (patch)
tree61a7bb91ae91ffd498b5ad1c2e5aac4178f72bb3 /mammoth/document_matchers.py
parent6f7fbaa001eda6aca41f9a4f54f526ef7b87b738 (diff)
Add style mapping for small caps
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 faccb50..6429911 100644
--- a/mammoth/document_matchers.py
+++ b/mammoth/document_matchers.py
@@ -35,6 +35,10 @@ class strikethrough(object):
element_type = "strikethrough"
+class small_caps(object):
+ element_type = "small_caps"
+
+
class comment_reference(object):
element_type = "comment_reference"