[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
damieng
damieng at source.lon-capa.org
Fri Jan 27 13:27:05 EST 2017
damieng Fri Jan 27 18:27:05 2017 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
fixed a bug with <h1 align="CENTER"> introduced in revision 1.199
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.462 loncom/xml/londefdef.pm:1.463
--- loncom/xml/londefdef.pm:1.462 Sat Aug 13 19:39:40 2016
+++ loncom/xml/londefdef.pm Fri Jan 27 18:27:05 2017
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.462 2016/08/13 19:39:40 raeburn Exp $
+# $Id: londefdef.pm,v 1.463 2017/01/27 18:27:05 damieng Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -826,7 +826,7 @@
$currentstring .= $token->[2];
} elsif ($target eq 'tex') {
my $post='\vskip 0 mm ';
- 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') {
$post='\end{center}';
} elsif ($align eq 'left') {
More information about the LON-CAPA-cvs
mailing list