Fix Bug #6471: Merge sibling with same style after applying a format