[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentsubmissions.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Mon, 06 Dec 2004 16:53:39 -0000
matthew Mon Dec 6 11:53:39 2004 EDT
Modified files:
/loncom/interface/statistics lonstudentsubmissions.pm
Log:
Unescape results in csv output.
Index: loncom/interface/statistics/lonstudentsubmissions.pm
diff -u loncom/interface/statistics/lonstudentsubmissions.pm:1.28 loncom/interface/statistics/lonstudentsubmissions.pm:1.29
--- loncom/interface/statistics/lonstudentsubmissions.pm:1.28 Fri Nov 19 14:44:39 2004
+++ loncom/interface/statistics/lonstudentsubmissions.pm Mon Dec 6 11:53:39 2004
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentsubmissions.pm,v 1.28 2004/11/19 19:44:39 matthew Exp $
+# $Id: lonstudentsubmissions.pm,v 1.29 2004/12/06 16:53:39 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -892,7 +892,7 @@
sub compile_response_data {
my ($response,$student,$prob,$partid,$respid) = @_;
my @rowdata;
- push(@rowdata,$response->[&Apache::loncoursedata::RDs_submission()]);
+ push(@rowdata,&Apache::lonnet::unescape($response->[&Apache::loncoursedata::RDs_submission()]));
if ($ENV{'form.correctans'} eq 'true') {
my $correct = &Apache::lonstathelpers::get_student_answer
($prob,$student->{'username'},$student->{'domain'},