--- loncom/interface/lonwhatsnew.pm 2017/05/19 18:23:19 1.123 +++ loncom/interface/lonwhatsnew.pm 2017/09/13 22:30:20 1.124 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.123 2017/05/19 18:23:19 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.124 2017/09/13 22:30:20 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1325,6 +1325,7 @@ sub getnormalmail { if ($emailstatus{$msgid} eq 'new') { $skipstatus = 1; } + my $esc_msgid = &escape($msgid); my ($sendtime,$shortsubj,$fromname,$fromdom,$status,$fromcid)= &Apache::lonmsg::unpackmsgid($msgid,undef,$skipstatus,undef, $env{'request.course.id'}); @@ -1337,7 +1338,7 @@ sub getnormalmail { $shortsubj = &mt('No subject'); } push(@{$newmsgs}, { - msgid => $msgid, + msgid => $esc_msgid, sendtime => $sendtime, shortsub => $shortsubj, from => $fromname,