[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 22 Aug 2003 16:44:47 -0000
albertel Fri Aug 22 12:44:47 2003 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
- this version actually compiles. *grin*
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.164 loncom/xml/londefdef.pm:1.165
--- loncom/xml/londefdef.pm:1.164 Fri Aug 22 12:29:15 2003
+++ loncom/xml/londefdef.pm Fri Aug 22 12:44:47 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.164 2003/08/22 16:29:15 albertel Exp $
+# $Id: londefdef.pm,v 1.165 2003/08/22 16:44:47 albertel Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -398,7 +398,7 @@
}
sub end_meta {
- my ($target,$token,$tagstack,$parstack,$parser) = @_;
+ my ($target,$token,$tagstack,$parstack,$parser,$safeeval) = @_;
my $currentstring = '';
if ($target eq 'web') {
my $args='';
@@ -407,6 +407,8 @@
$currentstring = $token->[4];
}
} elsif ($target eq 'tex') {
+ my $content=&Apache::lonxml::get_param('content',$parstack,$safeeval);
+ my $name=&Apache::lonxml::get_param('name',$parstack,$safeeval);
if ((not defined $content) && (not defined $name)) {
&Apache::lonxml::startredirection();
}