Deep references lose langcode during formatting