[LON-CAPA-cvs] cvs: loncom /interface lonmsgdisplay.pm

raeburn raeburn@source.lon-capa.org
Sat, 29 May 2010 23:19:52 -0000


raeburn		Sat May 29 23:19:52 2010 EDT

  Modified files:              
    /loncom/interface	lonmsgdisplay.pm 
  Log:
  - More of bug6233.
    - Excerpt of message in an e-mail will (by default) omit the break between 
      the group part  of the message and the individual student's part
      (<hr /> is eliminated), so warp the <hr /> in a couple of line feeds. 
  
  
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.150 loncom/interface/lonmsgdisplay.pm:1.151
--- loncom/interface/lonmsgdisplay.pm:1.150	Wed Apr 14 06:34:19 2010
+++ loncom/interface/lonmsgdisplay.pm	Sat May 29 23:19:52 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.150 2010/04/14 06:34:19 raeburn Exp $
+# $Id: lonmsgdisplay.pm,v 1.151 2010/05/29 23:19:52 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3185,7 +3185,7 @@
 	    my ($recuname,$recdomain)=split(/\:/,$address);
             my $msgtxt = $savemsg;
             if ($toaddr{$address}) {
-	        $msgtxt.='<hr />'.$toaddr{$address};
+	        $msgtxt.="\n".'<hr />'."\n".$toaddr{$address};
             }
 	    my @thismsg;
 	    if ($msgtype eq 'critical') {