Retain Carriage Return or Line breaks

Certified Associate Developer

Hi,

I have a paragraph field in my interface, I am sending the user comments from this field into email. The line breaks are not retained and all the text is displayed in a single line.

So I have figured out that, if I can store the expression type of the data into local variable, I can replace the char(10) with </br> while passing into email. 

I need help in storing the expression format of the value. How can I do that?

Lines in paragraph

  Discussion posts and replies are publicly visible