[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /homework structuretags.pm
raeburn
raeburn at source.lon-capa.org
Wed Jul 3 14:58:15 EDT 2024
raeburn Wed Jul 3 18:58:15 2024 EDT
Modified files: (Branch: version_2_11_X)
/loncom/homework structuretags.pm
Log:
- For 2.11
Backport 1.572, 1.573
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.512.2.25 loncom/homework/structuretags.pm:1.512.2.26
--- loncom/homework/structuretags.pm:1.512.2.25 Mon Sep 11 13:46:11 2023
+++ loncom/homework/structuretags.pm Wed Jul 3 18:58:15 2024
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.512.2.25 2023/09/11 13:46:11 raeburn Exp $
+# $Id: structuretags.pm,v 1.512.2.26 2024/07/03 18:58:15 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2858,7 +2858,11 @@
$gradestatus='';
}
$result.=$gradestatus;
- if ($$tagstack[-2] eq 'td' and $target eq 'tex') {$result.='\end{minipage}';}
+ if ($$tagstack[-2] eq 'td' and $target eq 'tex') {
+ if (not $env{'form.problem_split'}=~/yes/) {
+ $result.='\end{minipage}';
+ }
+ }
} elsif ($target eq 'edit') {
$result.=&Apache::edit::end_table();
} elsif ($target eq 'modified') {
More information about the LON-CAPA-cvs
mailing list