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

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 15 Oct 2002 14:37:59 -0000


matthew		Tue Oct 15 10:37:59 2002 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  It's "$target" not "$targer"....
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.126 loncom/homework/structuretags.pm:1.127
--- loncom/homework/structuretags.pm:1.126	Mon Oct 14 16:48:36 2002
+++ loncom/homework/structuretags.pm	Tue Oct 15 10:37:59 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.126 2002/10/14 20:48:36 albertel Exp $
+# $Id: structuretags.pm,v 1.127 2002/10/15 14:37:59 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -482,7 +482,7 @@
 sub start_block {
   my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_;
 
-  if ($target eq 'web' || $target eq 'grade' || $target eq 'answer' || $target eq 'tex' || $targer eq 'analyze') {
+  if ($target eq 'web' || $target eq 'grade' || $target eq 'answer' || $target eq 'tex' || $target eq 'analyze') {
     my $code = @$parstack[$#$parstack];
     $code =~ s/\"//g;
     $code .=';return $condition;';