Avoid doing string manipulation on render for single line label (#23227)

Release Notes:

- N/A
972176a574Michael Sloan committed on 1/16/2025, 11:15:45 AM· committed by GitHubparent8e6fc3c
1 file changedLine totals unavailable