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

raeburn raeburn at source.lon-capa.org
Mon Oct 8 15:04:07 EDT 2018


raeburn		Mon Oct  8 19:04:07 2018 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - In grading interface render tex within <m> </m> tags when displaying a
    student's submission to an essayresponse item.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.750 loncom/homework/grades.pm:1.751
--- loncom/homework/grades.pm:1.750	Fri May  4 15:15:05 2018
+++ loncom/homework/grades.pm	Mon Oct  8 19:04:06 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.750 2018/05/04 15:15:05 raeburn Exp $
+# $Id: grades.pm,v 1.751 2018/10/08 19:04:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -417,6 +417,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.
 	}
+        $answer = &Apache::lontexconvert::msgtexconverted($answer);
 	return '<br /><br /><blockquote><tt>'.&keywords_highlight($answer).'</tt></blockquote>';
 
     } elsif ( $response eq 'organic') {




More information about the LON-CAPA-cvs mailing list