Line breaks disappear in preview and in email

Hello!

For my email templates, I have a table called Templates, and in a canvas column I put the email template. Then I can reference it with the Format() formula. The issue is that randomly it will just remove all of the spaces in the template. So if this is the template looks like this:

And my formula looks like this:
image

This is the email I receive:

I’ve posted about this before, but it’s now causing a lot more issues. Has anyone else experienced this and have a good solution?

hi @Samuel_Langford ,

I have the same problem and since it was part of something bigger I assumed I overlooked something, but after inspection, this seems to be a bug caused by the format() function that removes the line breaks existing on the page (or in the canvas column).

In the format function linebreaks are created based on the position of the variables, like you see below, but this does not mean that in your (and mine) set up the linebreaks should not be respected.

Format{"{1}
{2}
{3}",
firstname,
thedate,
location
}
1 Like

I have the same issue with Notify(), not necessarily related to Format() though

The notification in Coda keeps the line breaks but in the email they’re always gone no matter what I try :frowning:

1 Like