I don't get it, why is NetSuite adding a lot more <br> to the email than I entered? It is spacing out the lines way too much and looks horrible.
Jared Fraley
06/15/2023, 1:59 PM
It looks like it is taking the new lines as additional <br>'s. I got it looking the way I want in the email but it looks jumbled in the actual editor. This does not make any sense.
s
scottvonduhn
06/15/2023, 2:48 PM
Netsuite does replace newlines with <br> tags automatically for some templates (I’ve seen this in both emails and advanced PDF’s). The solution is to either only use new lines or BR tags, but not both. I don’t know if this behavior is documented anywhere, but it is quite consistent.
j
Jared Fraley
06/15/2023, 2:49 PM
It is extremely odd because I was using both new lines and <br> in the exact same editor and it worked fine until I changed some wording and added new lines
s
scottvonduhn
06/15/2023, 2:55 PM
I have switched many of my email templates to using paragraph <p> tags in lots of places, as NS does not replace newlines within <p> tags with <br>. There may be other tags that work like <p> and prevent newlines form being converted automatically.