--- loncom/interface/lonwhatsnew.pm 2012/08/19 00:18:16 1.106 +++ loncom/interface/lonwhatsnew.pm 2012/10/04 11:31:58 1.108 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.106 2012/08/19 00:18:16 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.108 2012/10/04 11:31:58 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1698,7 +1698,7 @@ sub display_abovethreshold { if (ref($$triggered{$res}{text}) eq 'ARRAY') { if (@{$$triggered{$res}{text}} > 1) { for (my $i=1; $i<@{$$triggered{$res}{text}}; $i++) { - $r->print(''. + $r->print(''. $$triggered{$res}{text}[$i].''); } } @@ -1921,7 +1921,7 @@ sub display_coursediscussion { my $forum_title = $$unread{$ressymb}{'title'}; my $type = 'Resource'; my $feedurl=&Apache::lonfeedback::get_feedurl($ressymb); - my $disclink = $feedurl.'?symb='.$$unread{$ressymb}{symb}; + my $disclink = $feedurl.'?symb='. &escape($$unread{$ressymb}{symb}); if ($feedurl =~ /bulletinboard/) { $type = 'Discussion Board'; }