--- loncom/interface/statistics/lonproblemstatistics.pm 2003/08/29 21:11:25 1.57 +++ loncom/interface/statistics/lonproblemstatistics.pm 2003/09/03 16:07:06 1.58 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemstatistics.pm,v 1.57 2003/08/29 21:11:25 matthew Exp $ +# $Id: lonproblemstatistics.pm,v 1.58 2003/09/03 16:07:06 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -763,6 +763,9 @@ sub DrawGraph { $title = '' if (! defined($title)); $xaxis = '' if (! defined($xaxis)); $yaxis = '' if (! defined($yaxis)); + $title = &Apache::lonnet::escape($title); + $xaxis = &Apache::lonnet::escape($xaxis); + $yaxis = &Apache::lonnet::escape($yaxis); # my $sendValues = join(',', @$values); my $sendCount = scalar(@$values);