Math formula with bookmark exception

I found a problem with updating Bookmark text if this bookmark is inside math formula. Here is a sample project: (52.9 KB)
Steps to reproduce:

  1. Open project in Visual Studio and run it
  2. Choose a destination folder and press the button
  3. You should get exception

If you need more info, please let me know

@mmdevelopment Thank you for reporting this problem to us. For a sake of correction it has been linked as WORDSNET-23756. We will keep you informed and let you know once it is resolved.

The issues you have found earlier (filed as WORDSNET-23756) have been fixed in this Aspose.Words for .NET 22.6 update also available on NuGet.