98566ea951
This recently regressed in #24689, and this updates the `Display` implementation to take formatting flags into account. Closes #26625