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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 19 Feb 2004 19:57:48 -0000


albertel		Thu Feb 19 14:57:48 2004 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - HTML is case insensitive
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.198 loncom/xml/londefdef.pm:1.199
--- loncom/xml/londefdef.pm:1.198	Thu Feb 19 14:34:09 2004
+++ loncom/xml/londefdef.pm	Thu Feb 19 14:57:48 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.198 2004/02/19 19:34:09 sakharuk Exp $
+# $Id: londefdef.pm,v 1.199 2004/02/19 19:57:48 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -635,7 +635,7 @@
 	$currentstring .= $token->[4];
     } elsif ($target eq 'tex') {
 	my $pre;
-	my $align=&Apache::lonxml::get_param('align',$parstack,$safeeval,undef,1);
+	my $align=lc(&Apache::lonxml::get_param('align',$parstack,$safeeval,undef,1));
 	if (($align eq 'center') || (not defined $align)) {
 	    $pre='\begin{center}';
 	} elsif ($align eq 'left') {