--- loncom/xml/londefdef.pm 2007/12/06 11:22:37 1.380 +++ loncom/xml/londefdef.pm 2008/02/14 22:37:46 1.381 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.380 2007/12/06 11:22:37 foxr Exp $ +# $Id: londefdef.pm,v 1.381 2008/02/14 22:37:46 www Exp $ # # # Copyright Michigan State University Board of Trustees @@ -3063,11 +3063,14 @@ sub start_img { my $width= &Apache::lonxml::get_param('width',$parstack,$safeeval); my $height= &Apache::lonxml::get_param('height',$parstack,$safeeval); - - $currentstring .= ''.$alt.'[2]{'src'}=~/\$/) { + $currentstring.='Variable image source'; + } else { + $currentstring .= ''.$alt.'[2]{'src'},$token->[2]{'width'},$token->[2]{'height'});