[Rt-commit] r10779 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements

ruz at bestpractical.com ruz at bestpractical.com
Fri Feb 8 22:47:29 EST 2008


Author: ruz
Date: Fri Feb  8 22:47:28 2008
New Revision: 10779

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/TransactionData

Log:
* delete trailing spaces in the latest string of a txn
* leave one empty line between txns

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/TransactionData
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/TransactionData	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/TransactionData	Fri Feb  8 22:47:28 2008
@@ -40,7 +40,10 @@
         $m->print( $headers );
     }
 
-    $m->print( $Transaction->Content( Quote => $QuoteText ) );
+    my $content = $Transaction->Content( Quote => $QuoteText );
+    $content =~ s/\s+\z//;
+    $m->print( $content );
+    $m->print( "\n\n" );
 }
 </%INIT>
 <%ARGS>


More information about the Rt-commit mailing list