--- loncom/xml/londefdef.pm 2008/09/05 11:23:06 1.391 +++ loncom/xml/londefdef.pm 2008/09/11 14:47:24 1.392 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.391 2008/09/05 11:23:06 onken Exp $ +# $Id: londefdef.pm,v 1.392 2008/09/11 14:47:24 bisitz Exp $ # # # Copyright Michigan State University Board of Trustees @@ -107,13 +107,13 @@ sub start_m { my $eval=&Apache::lonxml::get_param('eval',$parstack,$safeeval); if ($eval eq 'on') { $inside=&Apache::run::evaluate($inside,$safeeval,$$parstack[-1]); - #&Apache::lonxml::debug("M is evaulated to:$inside:"); + #&Apache::lonxml::debug("M is evaluated to:$inside:"); } my $tex = $inside; my $display=&Apache::lonxml::get_param('display',$parstack,$safeeval); $currentstring = &Apache::lontexconvert::converted(\$inside,$display); if ($Apache::lontexconvert::errorstring) { - my $errormsg='
'.&HTML::Entities::encode($Apache::lontexconvert::errorstring,'<>&"').'occured while attempting to convert this TeX:
'; + my $errormsg=''.&HTML::Entities::encode($Apache::lontexconvert::errorstring,'<>&"').'occurred while attempting to convert this TeX:'; $tex = &HTML::Entities::encode($tex,'<>&"'); my ($linenumber) = ($Apache::lontexconvert::errorstring =~ /Line (\d+)/);