Solved! Go to Solution.
Any update on this?
The annoying this is that the fields support line breaks, if you edit a lead record you can add them to your hearts content but there doesn't seem like there is a way to do this programmatically.
I tried the html entities, <br>, the above trick, and nothing worked. The closest I got to getting something to work was to create a 'line break' field on a lead and manually populate it with:
and then reference that whenever I need a line break. The problem with that is there doesn't seem to be a way to give every lead that value for the field by default. Also tried it as a Salesforce formula but it seems Salesforce is just at bad at this as Marketo.
Most of the answers here are confusing HTML-encoding (&...;), URL-encoding (%...), and HTML line breaks (<BR>).
Unfortunately, the Flow Editor UI where you build a flow helpfully (aherm) double-escapes \r\n when you attempt to add these characters the input box. However, if you bypass validation of the input box it's possible to get them stored in your database. When properly entered, the \r\n will be invisible, but fully operational, as you can see here.
To bypass validation of the field requires a technique I'm not going to post publicly, but if you're interested you can follow me on the Community and we can chat about it.