Avoid mixed content when expanding context in code review tool