aboutsummaryrefslogtreecommitdiff
path: root/mammoth/document_matchers.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-03 13:45:36 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-03 13:45:36 +0100
commited8acdfd79b014fd002890361593a9b2c1f21534 (patch)
tree5639f30308ccb86bfb684a2256f22caef2f1aa5f /mammoth/document_matchers.py
parent75ad64ef27d5b8fbfa1a54a94c063e69b2c1ce81 (diff)
Add comment reference document matcher
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 6f40318..2efd73f 100644
--- a/mammoth/document_matchers.py
+++ b/mammoth/document_matchers.py
@@ -31,3 +31,7 @@ class underline(object):
class strikethrough(object):
element_type = "strikethrough"
+
+
+class comment_reference(object):
+ element_type = "comment_reference"