From a44c8c635f07b9e77acc1fd6eddfa2cb2968e26e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 13 Aug 2009 04:12:40 +0200 Subject: temporarily avoid stripping newlines. --- localmarkdown2sms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'localmarkdown2sms') diff --git a/localmarkdown2sms b/localmarkdown2sms index f313c14..b9de452 100755 --- a/localmarkdown2sms +++ b/localmarkdown2sms @@ -122,7 +122,7 @@ foreach my $file (read_dir( $path )) { $content =~ s/^\h*$//g; # clean virtually empty lines $content =~ s/(\S)\h$/$1/g; # strip single trailing space $content =~ s/\n\n+/\n\n/g; # strip excess newlines - $content =~ s/(\S)\n([^\n])/$1 $2/g; # convert newline to space +# $content =~ s/(\S)\n([^\n])/$1 $2/g; # convert newline to space $content =~ s/\h*$//g; # strip all trailing spaces $reply{$key}[$i] = $content; } elsif ($skipkey or $skipcontent) { -- cgit v1.2.3