[LON-CAPA-cvs] cvs: loncom /homework grades.pm

kruse kruse at source.lon-capa.org
Fri Dec 19 07:18:03 EST 2014


kruse		Fri Dec 19 12:18:03 2014 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  Reverting changes concerning essay response in order to
  improve display in hand-grading screen.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.729 loncom/homework/grades.pm:1.730
--- loncom/homework/grades.pm:1.729	Sun Dec  7 19:45:08 2014
+++ loncom/homework/grades.pm	Fri Dec 19 12:18:02 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.729 2014/12/07 19:45:08 raeburn Exp $
+# $Id: grades.pm,v 1.730 2014/12/19 12:18:02 kruse Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -406,7 +406,7 @@
 	    $env{'form.kwstyle'}  = $keyhash{$loginuser.'_kwstyle'} ne '' ? $keyhash{$loginuser.'_kwstyle'} : '';
 	    $env{'form.'.$symb} = 1; # so that we don't have to read it from disk for multiple sub of the same prob.
 	}
-	return '<br /><br /><blockquote><tt>'.&keywords_highlight(&HTML::Entities::encode($answer, '"<>&')).'</tt></blockquote>';
+	return '<br /><br /><blockquote><tt>'.&keywords_highlight($answer).'</tt></blockquote>';
 
     } elsif ( $response eq 'organic') {
         my $result=&mt('Smile representation: [_1]',




More information about the LON-CAPA-cvs mailing list