--- loncom/lonmaxima 2008/08/19 10:59:10 1.39 +++ loncom/lonmaxima 2009/04/17 00:12:14 1.40 @@ -3,7 +3,7 @@ # The LearningOnline Network with CAPA # Connect to MAXIMA CAS # -# $Id: lonmaxima,v 1.39 2008/08/19 10:59:10 riegler Exp $ +# $Id: lonmaxima,v 1.40 2009/04/17 00:12:14 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -356,7 +356,7 @@ sub getmaximaoutput { if ($error) { return 'Error: '.$error; } - $output =~ s/\r+//g; # Remove Windows-style linebreaks + $output =~ s/\r+//gs; # Remove Windows-style linebreaks my $foundoutput=0; my $found_label=0; my $realoutput='';