diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-07-03 12:31:50 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-07-03 12:31:50 +0100 |
| commit | 8dce33362f5338953ed2a614e736c197e36b9984 (patch) | |
| tree | f7ab236ec7ed95f937e5d0b1125dcf4b8e1ff43c /mammoth/documents.py | |
| parent | f2db2bcf40c2c497a33b1f087b67111c3351a406 (diff) | |
Read comment references
Diffstat (limited to 'mammoth/documents.py')
| -rw-r--r-- | mammoth/documents.py | 6 |
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) |
