[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 13 Jun 2005 20:20:35 -0000
albertel Mon Jun 13 16:20:35 2005 EDT
Modified files:
/loncom/homework structuretags.pm
Log:
- wasn't getting an end body tag in CSTR
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.293 loncom/homework/structuretags.pm:1.294
--- loncom/homework/structuretags.pm:1.293 Fri Jun 3 22:56:44 2005
+++ loncom/homework/structuretags.pm Mon Jun 13 16:20:33 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.293 2005/06/04 02:56:44 albertel Exp $
+# $Id: structuretags.pm,v 1.294 2005/06/13 20:20:33 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -751,7 +751,8 @@
}
if ($target eq 'answer' && ($env{'request.state'} eq 'construct')
&& $env{'form.answer_output_mode'} ne 'tex') {
- $result.='</html>'; # normally we get it from xmlend, but in CSTR
+ $result.=&Apache::lonxml::xmlend().'</html>';
+ # normally we get it from above, but in CSTR
# we always show answer mode too.
}
} elsif ($target eq 'meta') {