We use com.aspose.words to extract metadata and text from word documents. I believe we’re on version 25.12.
Attaching a sample document that reproduces the issue, (see the bottom section References)
Section Breaks 20p.…...something like: StringBuilder sb = new StringBuilder(); for (Section...using section.getBody().toString(new TextSaveOptions()) and enabling...