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

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 23 May 2002 18:02:03 -0000


sakharuk		Thu May 23 14:02:03 2002 EDT

  Modified files:              
    /loncom/homework	optionresponse.pm 
  Log:
  small late corrections for math symbils in the option list
  
  
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.39 loncom/homework/optionresponse.pm:1.40
--- loncom/homework/optionresponse.pm:1.39	Fri May  3 15:32:57 2002
+++ loncom/homework/optionresponse.pm	Thu May 23 14:02:03 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.39 2002/05/03 19:32:57 albertel Exp $
+# $Id: optionresponse.pm,v 1.40 2002/05/23 18:02:03 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -313,6 +313,9 @@
 	      $durtyoptionlist =~ s/<option>/{\\bf /g;
 	      $durtyoptionlist =~ s/<\/option>/},/g;
 	      $durtyoptionlist =~ s/,$/\./g;
+	      $durtyoptionlist =~ s/>/\$>\$/g;
+	      $durtyoptionlist =~ s/</\$<\$/g;
+	      $durtyoptionlist =~ s/=/\$=\$/g;
 	      $result.= $durtyoptionlist.$Apache::response::foilgroup{$name.'.text'};
 	      $Apache::optionresponse::displayoptionintex=1;
 	  } else {