When the same person is mentioned twice in one block, both substrings flip to the new display name. String.replace(String, String) is documented to replace every occurrence, but a future regex-based refactor or a typo could silently regress to first-match-only — this test guards against that. Refs #362 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>