Bug while trying to replace content inside of a text box

Hi,

I have encountered a bug, where trying to replace content in a text box does not work out for some documents. This is what my document looks like:


After using Find and Set to replace content for %UsingFind% and using Replace to replace %UsingReplace% it looks like this:

While it works for Find the %UsingReplace% was not replaced in the text box as expected. If I delete everything but the text box it works for the %UsingReplace% in the textbox as well.

I have set up a minimal example:

where title.docx is the reduced, working document and title_2.docx is the long document where the replacement fails.

Cheers

Hi,

Please try again with this NuGet package:
Install-Package GemBox.Document -Version 35.0.1898-hotfix

Note that this is a hidden pre-released version, to install it you’ll need to run the above command on the NuGet Package Manager Console (Tools → NuGet Package Manager → Package Manager Console).

Does this solve your issue?

Regards,
Mario

Thanks for the quick response. Problem solved.