I reported this message display bug about 3 months ago, Kevin agreed
with the fix, but it's still present in 3.8.3. Without this fix, if
you click "Show" next to an outgoing mail message, regardless of your
preference settings, text paragraphs are a single long line.
--- ShowEmailRecord.html_orig 2009-02-23 16:55:17.000000000 -0800
+++ ShowEmailRecord.html 2009-02-23 16:56:22.000000000 -0800
-65,7 +65,7
my $show;
$show = sub {
my $attach = shift;
- $m->out( '<div id="body"><pre style="padding: 2em;">' );
+ $m->out( '<div id="body" style="white-space: pre-wrap; padding:
2em;">' );
$m->out( $m->interp->apply_escapes( $attach->Headers, 'h' ) );
$m->out( "\n\n" );
if ( $attach->ContentType =~ m{^multipart/}i ) {
-76,7 +76,7
} else {
$show_content->( $attach );
}
- $m->out( '</pre></div>' );
+ $m->out( '</div>' );
};
my $AttachmentObj = new RT::Attachment($session{'CurrentUser'});
--
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [email protected]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com