Closed
Service / Agent Experience
'\ n' and '\ r' adds new line when used in case comments
Summary
When putting file paths or urls into case comments that might contain '\n' or '\r', the case comment rendered in related list and feed are displayed with line breaks.
This behavior also manifests in text fields in lightning, but will not show on 2 lines in classic
This behavior also manifests in text fields in lightning, but will not show on 2 lines in classic
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Closed with 25 reports
Nov 30, 2026