--- loncom/xml/lonxml.pm 2003/10/29 18:29:24 1.289 +++ loncom/xml/lonxml.pm 2003/10/30 20:22:00 1.290 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.289 2003/10/29 18:29:24 sakharuk Exp $ +# $Id: lonxml.pm,v 1.290 2003/10/30 20:22:00 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1060,6 +1060,7 @@ ENDSCRIPT sub storefile { my ($file,$contents)=@_; + &Apache::lonnet::correct_line_ends(\$contents); if (my $fh=Apache::File->new('>'.$file)) { print $fh $contents; $fh->close();