HTML messages and linebreaks in transaction->content

Hello,

We’re using HTML formatting in correspondence from RT. However, we’re
running into a problem with text that comes out of

{$Transaction->Content()}

When the message is sent in plain text, all of the carriage returns
from Content are translated properly into linebreaks. However, in the
HTML version, the carriage returns are ignored and all of the text
from Content is displayed on one line.

(In the Template, the message content type is set as: Content-Type:
text/html)

Does anyone know how we might fix this and retain our HTML messages?

Thanks,
Andy

Andy Jones
User Support Manager
Educational Technology Services
510.594.5016
andy@cca.edu

Wrap the {$Transaction->Content()} line with

 
tags.

This tells the client that is interpreting the HTML to preserve formatting… which means if there is a carrage return, it’ll show it.

Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON P7B 5E1
Phone: (807) 766-7331
Email: mike.johnson@normed.ca
Technology assistance: email nosmhelpdesk@normed.ca
Technology Emergency Contact (TEC) Mon-Fri, 8am to 5pm excluding stat holidays:
Off campus toll free 1 (800) 461-8777, option 8, or locally either
(705) 662-7120 or (807) 766-7500

Andy Jones adjones@cca.edu 1/21/2010 4:01 PM >>>
Hello,

We’re using HTML formatting in correspondence from RT. However, we’re
running into a problem with text that comes out of

{$Transaction->Content()}

When the message is sent in plain text, all of the carriage returns
from Content are translated properly into linebreaks. However, in the
HTML version, the carriage returns are ignored and all of the text
from Content is displayed on one line.

(In the Template, the message content type is set as: Content-Type:
text/html)

Does anyone know how we might fix this and retain our HTML messages?

Thanks,
Andy

Andy Jones
User Support Manager
Educational Technology Services
510.594.5016
andy@cca.edu