aboutsummaryrefslogtreecommitdiff
path: root/mammoth/documents.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/documents.py')
-rw-r--r--mammoth/documents.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mammoth/documents.py b/mammoth/documents.py
index 93b080c..5d9830e 100644
--- a/mammoth/documents.py
+++ b/mammoth/documents.py
@@ -182,4 +182,10 @@ class Comment(object):
comment = Comment
+@cobble.data
+class CommentReference(Element):
+ comment_id = cobble.field()
+
+comment_reference = CommentReference
+
ElementVisitor = cobble.visitor(Element)