[LON-CAPA-cvs] cvs: loncom(version_1_2_X) /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 25 Aug 2004 20:12:15 -0000
albertel Wed Aug 25 16:12:15 2004 EDT
Modified files: (Branch: version_1_2_X)
/loncom/homework structuretags.pm
Log:
- backport 1.265
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.260.2.2 loncom/homework/structuretags.pm:1.260.2.3
--- loncom/homework/structuretags.pm:1.260.2.2 Fri Aug 13 15:05:01 2004
+++ loncom/homework/structuretags.pm Wed Aug 25 16:12:15 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.260.2.2 2004/08/13 19:05:01 albertel Exp $
+# $Id: structuretags.pm,v 1.260.2.3 2004/08/25 20:12:15 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1147,7 +1147,7 @@
$gradestatus='';
}
$result=$gradestatus;
- if ($$tagstack[-2] eq 'td') {$result.='\end{minipage}';}
+ if ($$tagstack[-2] eq 'td' and $target eq 'tex') {$result.='\end{minipage}';}
} elsif ($target eq 'edit') {
$result=&Apache::edit::end_table();
}