[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Tue, 08 Jul 2003 18:12:28 -0000


sakharuk		Tue Jul  8 14:12:28 2003 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  Changes in <meta> tag toprint standard HTML documents.
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.150 loncom/xml/londefdef.pm:1.151
--- loncom/xml/londefdef.pm:1.150	Mon Jun 30 15:26:36 2003
+++ loncom/xml/londefdef.pm	Tue Jul  8 14:12:28 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.150 2003/06/30 19:26:36 sakharuk Exp $
+# $Id: londefdef.pm,v 1.151 2003/07/08 18:12:28 sakharuk Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -371,7 +371,11 @@
 	    }
 	}
     } elsif ($target eq 'tex') {
-	&Apache::lonxml::startredirection();
+	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();
+	}
     }
     return $currentstring;
 }