[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 26 Aug 2004 22:41:34 -0000
albertel Thu Aug 26 18:41:34 2004 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
- preserve the spacing at least somewhat
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.208 loncom/interface/loncommon.pm:1.209
--- loncom/interface/loncommon.pm:1.208 Thu Aug 26 17:42:40 2004
+++ loncom/interface/loncommon.pm Thu Aug 26 18:41:33 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.208 2004/08/26 21:42:40 matthew Exp $
+# $Id: loncommon.pm,v 1.209 2004/08/26 22:41:33 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -812,7 +812,7 @@
sub csv_translate {
my $text = shift;
$text =~ s/\"/\"\"/g;
- $text =~ s/\n//g;
+ $text =~ s/\n/ /g;
return $text;
}