How reproduce: make the change at the end of the paragraph. In following the current one, make changes at the beginning. After the comparison, an additional paragraph is created with both changes.
http://joxi.ru/n2YRRaPFblYbgA
code:
Document doc = new Document("..\\1.docx");
Document doc2 = new Document("..\\2.docx");
doc.acceptAllRevisions();
doc2.acceptAllRevisions();
doc.compare(doc2, "3", new Date());
doc.save("..\\out.docx");
doc.save("..\\out.html", htmlSaveOptions);
bug.zip (257.9 KB)