I have an input word document with an enumerated list in it that is bookmarked and some text right after the list. Using Aspose.Words I try to delete the contents of that bookmark. (using Java, lib aspose-words-17.9-jdk16.jar)
When selecting the contents in MS Word and deleting them manually, list is deleted, text after the list isn’t changed. This was the expected result of the output of the attached snippet. Instead, after deleting the contents of the bookmark and saving the edited document, the text that was after the bookmark gets formatted like a first element in a list.
Attaching java snippet and the doc file that replicates the bug: