[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 12 Feb 2004 19:07:12 -0000
albertel Thu Feb 12 14:07:12 2004 EDT
Modified files:
/loncom/homework structuretags.pm
Log:
- Finishes of BUG#898
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.233 loncom/homework/structuretags.pm:1.234
--- loncom/homework/structuretags.pm:1.233 Tue Feb 10 17:11:37 2004
+++ loncom/homework/structuretags.pm Thu Feb 12 14:07:12 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.233 2004/02/10 22:11:37 www Exp $
+# $Id: structuretags.pm,v 1.234 2004/02/12 19:07:12 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1054,12 +1054,12 @@
sub start_postanswerdate {
my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_;
- if ($target eq 'web' || $target eq 'grade' || $target eq 'tex') {
+ if ($target eq 'web' || $target eq 'grade') {
if ($Apache::inputtags::status['-1'] ne 'SHOW_ANSWER') {
&Apache::lonxml::get_all_text("/postanswerdate",$parser);
}
} elsif ($target eq 'tex') {
- return '\vskip 0 mm \noindent';
+ &Apache::lonxml::get_all_text("/postanswerdate",$parser);
}
return '';
}