Aspose Word: Adding Extra space after deleted content

Hello, we are using Aspose Word 24.9, and it is adding extra spaces in the output file of the compared document after the deleted data.
BaseFile.docx (53.6 KB)

InputFile.docx (35.9 KB)

Compare_File_Output.docx (65.2 KB)

I have attached screenshots and files for reference.

Base file(Orignal File):

Input FIle(User edited file):

Compare File(Aspose compared output file):

@ttinwala The behavior is expected and fully match MS Word behavior upon comparing your documents.
Result produced by MS Word:


Result produced by Aspose.Words:

Did you compare Base file with Input file? Because spaces are not there in Base file or Input file…

@ttinwala Yes, and the output document you have attached in the initial post looks the same.

But there are extra spaces in Compare_File_Output.docx, Which are not there in 2 uploaded files.

@ttinwala Here is how your output looks on my side in MS Word 2019:

Please press Ctrl+* to see document formatting marks.