--- loncom/interface/lonpickcourse.pm 2004/03/19 03:47:09 1.13 +++ loncom/interface/lonpickcourse.pm 2004/03/31 05:24:00 1.14 @@ -1,7 +1,7 @@ # The LearningOnline Network # Pick a course # -# $Id: lonpickcourse.pm,v 1.13 2004/03/19 03:47:09 albertel Exp $ +# $Id: lonpickcourse.pm,v 1.14 2004/03/31 05:24:00 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -136,7 +136,7 @@ ENDSCRIPT } foreach my $description (sort(keys(%by_descrip))) { my $course=$by_descrip{$description}; - my $cleandesc=&HTML::Entities::encode($courses{$course}); + my $cleandesc=&HTML::Entities::encode($courses{$course},'<>&"'); $cleandesc=~s/'/\\'/g; my ($cdom,$cnum)=split(/\_/,$course); $r->print('