function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
trishtrish 

Linefeeds with text email Template

I have a custom email form where I am trying to load a text email template. I am querying the "Body" field in the  EmailTemplate object and assigning this to an apex:inputtextarea. The email loaded into the text area has the linefeed characters truncated and appears in one line. What am I doing worng here?
ahab1372ahab1372
what linefeed characters are you using? HAve you tried \n and \r ?
trishtrish
I am using  Database.query to retrieve a list of records. One of the fields has multiline text data. For some reason, the data returned does not have the line feed characters(\n \r). So the entire text appears in 1 line now.