Add line break with :format as text

Hello!

I’ve been banging my head against a wall all day trying to solve what ought to be a fairly simple thing. None of the solutions on the forum I can find for the same problem work for me.

I have a list like this:
List of fruits :each items name: format as text

I want it displayed like this:
Apple
Orange
Mango

But instead I get:
AppleOrangeMango

What I’ve tried:
Using a carriage return as delimiter and in the text
Using ‘line_break’ as delimiter
Using various HTML expressions both as delimiters and directly in the text field.
Using a carriage return in between other accepted characters (like comma)
append:arbitrary text with blank carriage returns

I’m all out of ideas. Can someone please help me?

EDIT:
For clarification, I want to send the list to Sendgrid in a JSON-body. And that’s where I lose the carriage returns.

/Emil

Ok so I finally solved it. For anyone with the same problem this is how I did it:

3 curly brackets on the parameter in the Sendgrid template: {{{fruit}}} instead of {{fruit}}
This forces Sendgrid to accept HTML in the parameter.
HTML linebreak as delimiter in Bubble

Have I nice day!

This topic was automatically closed after 70 days. New replies are no longer allowed.