[rt-users] Can't use html in ticket Create/Comment/Reply?
Paul Tomblin
ptomblin at xcski.com
Tue May 15 07:33:29 EDT 2012
I wanted to arrange some text in the Create data on a ticket I'm
creating programmatically into a nice neat table, and so I created it
as
my $mimeObj = MIME::Entity->build(
Type => 'text/html',
Charset => 'UTF-8',
'Message-Id' => RT::Interface::Email::GenMessageId,
Subject => "Change Request",
Data => q?A Change Request has been submitted by RT Client1 (
ptomblin+rtclient1 at xcski.com) for the following users
RT Client1 ( ptomblin+rtclient1 at xcski.com)
RT Client2 ( ptomblin+rtclient2 at xcski.com)
To make the following changes:
<table><tr><td>Add:</td><td>Application 1 : Application
One</td></tr><tr><td>Add:</td><td>Application 2 : Application
Two</td></tr><tr><td>Add:</td><td>Application 3 : Application
Three</td></tr><tr><td>Add:</td><td>Mobile 1</td></tr></table>?);
and when I dump it using $mimeObj->stringify it still has the html in
it, and I use that $mimeObj in the Ticket->Create, but when it shows
up on the basic ticket display the html appears to have been stripped.
I've also tried putting <body> tags around it, and it doesn't help.
--
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
More information about the rt-users
mailing list