From 8dce33362f5338953ed2a614e736c197e36b9984 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 3 Jul 2016 12:31:50 +0100 Subject: Read comment references --- mammoth/documents.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mammoth/documents.py') 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) -- cgit v1.2.3