--- loncom/interface/lonmsg.pm 2006/04/11 14:17:23 1.181 +++ loncom/interface/lonmsg.pm 2006/04/23 04:04:38 1.182 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging # -# $Id: lonmsg.pm,v 1.181 2006/04/11 14:17:23 albertel Exp $ +# $Id: lonmsg.pm,v 1.182 2006/04/23 04:04:38 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -188,6 +188,8 @@ sub unpackmsgid { $msgid=&Apache::lonnet::unescape($msgid); my ($sendtime,$shortsubj,$fromname,$fromdomain,$count,$fromcid, $processid)=split(/\:/,&Apache::lonnet::unescape($msgid)); + $shortsubj = &Apache::lonnet::unescape($shortsubj); + $shortsubj = &HTML::Entities::decode($shortsubj); if (!defined($processid)) { $fromcid = ''; } my %status=(); unless ($skipstatus) {