--- loncom/interface/lonpickcourse.pm 2004/05/07 17:53:01 1.15 +++ loncom/interface/lonpickcourse.pm 2004/05/07 21:51:30 1.16 @@ -1,7 +1,7 @@ # The LearningOnline Network # Pick a course # -# $Id: lonpickcourse.pm,v 1.15 2004/05/07 17:53:01 www Exp $ +# $Id: lonpickcourse.pm,v 1.16 2004/05/07 21:51:30 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -62,8 +62,7 @@ ENDDOCUMENT # description filter my $descriptfilter=$ENV{'form.descriptfilter'}; unless ($descriptfilter) { $descriptfilter=''; } - my $listdescript=$descriptfilter; - $listdescript=~s/\"/\"\;/g; + my $listdescript=&HTML::Entities::encode($descriptfilter,'<>&"'); # last course activity filter and selection my $sincefilter=$ENV{'form.sincefilter'}; $sincefilter=~s/[^\d-]//g;