diff --git a/docx/oxml/text/run.py b/docx/oxml/text/run.py index 489b28c86..8f3a9c70f 100644 --- a/docx/oxml/text/run.py +++ b/docx/oxml/text/run.py @@ -73,8 +73,8 @@ def link_comment(self, _id): rStart._id = _id rEnd = OxmlElement('w:commentRangeEnd') rEnd._id = _id - self.insert(0,rStart) - self.append(rEnd) + self.addprevious(rStart) + self.addnext(rEnd) def add_comment_reference(self, _id): reference = OxmlElement('w:commentReference')