[rt-users] 3.8.2 message display bug reappears in 3.8.3
Jo Rhett
jrhett at netconsonance.com
Tue Jun 2 05:28:24 EDT 2009
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
More information about the rt-users
mailing list