[LON-CAPA-cvs] cvs: loncom /homework outputtags.pm /xml londefdef.pm
raeburn
raeburn at source.lon-capa.org
Sat Mar 25 14:38:27 EDT 2023
raeburn Sat Mar 25 18:38:27 2023 EDT
Modified files:
/loncom/homework outputtags.pm
/loncom/xml londefdef.pm
Log:
- Typo: height not heigth
Index: loncom/homework/outputtags.pm
diff -u loncom/homework/outputtags.pm:1.61 loncom/homework/outputtags.pm:1.62
--- loncom/homework/outputtags.pm:1.61 Sun Nov 12 23:11:09 2017
+++ loncom/homework/outputtags.pm Sat Mar 25 18:38:25 2023
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# tags that create controlled output
#
-# $Id: outputtags.pm,v 1.61 2017/11/12 23:11:09 raeburn Exp $
+# $Id: outputtags.pm,v 1.62 2023/03/25 18:38:25 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -309,7 +309,7 @@
my $args;
my $width=&Apache::lonxml::get_param('width',$parstack,$safeeval);
if ($width) { $args.=" width=\"$width\" "; }
- my $height=&Apache::lonxml::get_param('heigth',$parstack,$safeeval);
+ my $height=&Apache::lonxml::get_param('height',$parstack,$safeeval);
if ($height) { $args.=" height=\"$height\" "; }
my $align=&Apache::lonxml::get_param('align',$parstack,$safeeval);
if ($align) { $args.=" align=\"$align\" "; }
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.469 loncom/xml/londefdef.pm:1.470
--- loncom/xml/londefdef.pm:1.469 Wed Mar 15 16:57:06 2023
+++ loncom/xml/londefdef.pm Sat Mar 25 18:38:27 2023
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.469 2023/03/15 16:57:06 raeburn Exp $
+# $Id: londefdef.pm,v 1.470 2023/03/25 18:38:27 raeburn Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -3279,12 +3279,12 @@
return $currentstring;
}
-#-- <blankspace heigth="">
+#-- <blankspace height="">
sub start_blankspace {
my ($target,$token,$tagstack,$parstack,$parser,$safeeval) = @_;
my $currentstring = &end_p(); # closes off any unclosed <p>
if ($target eq 'tex') {
- my $howmuch = &Apache::lonxml::get_param('heigth',$parstack,$safeeval,undef,1);
+ my $howmuch = &Apache::lonxml::get_param('height',$parstack,$safeeval,undef,1);
$currentstring .= '\vskip '.$howmuch.' ';
}
return $currentstring;
More information about the LON-CAPA-cvs
mailing list