Home General Discussion

Email replies - preserve line breaks

LeeJonesLeeJones Member IT Monkey ✭

How can I preserve line breaks in emailed comments? I read this thread that seems to be similar to my issue, but maybe not quite:

https://community.cireson.com/discussion/4941/email-format-and-service-request

When our analyst adds a comment, we have the comment sent to the end user via email. However, the plain-text list (bottom in screenshot below) becomes a single run-on paragraph (top in screenshot below).

How do I preserve line breaks in plain text or HTML emails?

Best Answer

Answers

  • LeeJonesLeeJones Member IT Monkey ✭

    @Jeff_Lang

    Man, I hope that works! I updated the notification template and added wrapped the description. I'm making a test ticket, we'll see how that goes, and I'll update. :-)

    BTW, did you mean I should wrap the entire template in PRE, or just the blocks of text? I interpreted that as just the problem areas of the email.

  • Jeff_LangJeff_Lang Customer Ninja IT Monkey ✭✭✭✭

    @LeeJones just put the blocks of text you want to preserve the line breaks in inside the <pre></pre> block not the entire template

  • LeeJonesLeeJones Member IT Monkey ✭

    It's good enough!


Sign In or Register to comment.