We encountered an issue when document bookmark in the last document is misplaced after calls to document.appendDocument()
Expected bookmark location same as before the merge.
Actual bookmark location - after the two im…...by a paragraph , the bookmark is attached to that paragraph node...adjacent runs, removing empty paragraphs, etc.). One of those passes...