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

sakharuk lon-capa-cvs@mail.lon-capa.org
Mon, 19 Aug 2002 19:06:02 -0000


sakharuk		Mon Aug 19 15:06:02 2002 EDT

  Modified files:              
    /loncom/homework	outputtags.pm 
  Log:
   Corrections for the % in problem's title.
  
  
Index: loncom/homework/outputtags.pm
diff -u loncom/homework/outputtags.pm:1.18 loncom/homework/outputtags.pm:1.19
--- loncom/homework/outputtags.pm:1.18	Wed Aug  7 13:39:42 2002
+++ loncom/homework/outputtags.pm	Mon Aug 19 15:06:02 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # tags that create controlled output
 #
-# $Id: outputtags.pm,v 1.18 2002/08/07 17:39:42 sakharuk Exp $
+# $Id: outputtags.pm,v 1.19 2002/08/19 19:06:02 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -82,6 +82,7 @@
     $result.='</td></tr>';
     $result.=&Apache::edit::end_table();
   } elsif ($target eq 'tex') {
+      $Apache::lonhomework::name=~s/%/\%/g;
       $Apache::lonhomework::name=~s/&/\&/g;
       $result='\vskip 0 mm\noindent\textbf{'.$Apache::lonhomework::name.'}\vskip 0 mm';
   }