[Rt-commit] rt branch, history-folding, updated. rt-3.9.5-434-g93db6cb
Jesse Vincent
jesse at bestpractical.com
Wed Nov 24 16:22:29 EST 2010
The branch, history-folding has been updated
via 93db6cbe72f00da99c098fe2f2035907ca87b583 (commit)
from ef58923f8d438c61ee6a791b66bd503f52ab150b (commit)
Summary of changes:
share/html/Ticket/Elements/ShowMessageStanza | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 93db6cbe72f00da99c098fe2f2035907ca87b583
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Wed Nov 24 16:22:19 2010 -0500
Yet another pass at fixing newline issues
diff --git a/share/html/Ticket/Elements/ShowMessageStanza b/share/html/Ticket/Elements/ShowMessageStanza
index e17db1d..77d72dd 100755
--- a/share/html/Ticket/Elements/ShowMessageStanza
+++ b/share/html/Ticket/Elements/ShowMessageStanza
@@ -84,7 +84,7 @@ if ( ref $Message ) {
&& !$Depth
&& !$plain_text_mono );
$m->out( '<div class="message-stanza'
- . ( $plain_text_mono ? ' plain-text-white-space' : '' ) . '"'
+ . ( ($ContentType eq 'text/plain' && $plain_text_mono) ? ' plain-text-white-space' : '' ) . '"'
. '>' );
my @stack;
@@ -100,7 +100,7 @@ AGAIN: foreach ( ; $i < @$Message; $i++ ) {
$Message->[ $i + 1 ] = [ splice @$Message, $i + 1 ]
if $Message->[ $i + 1 ];
}
- $para .= ( defined $stanza->{raw} ? $stanza->{raw} : '' );
+ $para .= ( defined $stanza->{raw} ? $stanza->{raw} : '' )."\n";
}
next unless ref $stanza eq "ARRAY";
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list