Aspose word java modifying text input while converting it to html

PFA the original rtf document and it’s corresponding text and html conversion outputs.


Steps to reproduce the issue.
Open rtf document in mac’s text edit application and search for string ‘bmk’ you should 19 instances of the same.
Open the corresponding text document and again search for string ‘bmk’ you should again see 19 instances of the word.
Now open the corresponding html document and again search for the string ‘bmk’ in it. you 'll see 0 occurrence of the word.

Expected behaviour.
1. Input text content should not be modified during the conversion process to any format.
2. converted content should be same for all conversions.

Hi Parag,


Thanks for your inquiry. This is the expected behavior. The problem occurs because all the occurrences of word “bmk” are made hidden in your Word document. If we can help you with anything else, please feel free to ask.

Best regards,