aboutsummaryrefslogtreecommitdiff
path: root/mammoth/document_matchers.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-12-14 16:36:27 +0000
committerMichael Williamson <mike@zwobble.org>2013-12-14 16:36:27 +0000
commit996491337023abe6033c3caf76dfa4501bd27ce3 (patch)
tree5d3c4bac5e7e47451e5aef0ac4d8a53b9927522b /mammoth/document_matchers.py
parentf1791fd544d01c118951fdca96b63a151d808941 (diff)
Generate styles for runs
Diffstat (limited to 'mammoth/document_matchers.py')
-rw-r--r--mammoth/document_matchers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mammoth/document_matchers.py b/mammoth/document_matchers.py
index e7cd12c..ed4171b 100644
--- a/mammoth/document_matchers.py
+++ b/mammoth/document_matchers.py
@@ -14,3 +14,4 @@ def run(style_name=None):
RunMatcher = collections.namedtuple("RunMatcher", ["style_name"])
+RunMatcher.element_type = "run"