Wrap the {$Transaction->Content()} line with <pre> </pre> 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: [email protected]
Technology assistance: email [email protected] 
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 <[email protected]> 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
[email protected] 


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [email protected]

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to