diff options
author | Jonas Smedegaard <dr@jones.dk> | 2009-08-13 04:12:40 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2009-08-13 04:12:40 +0200 |
commit | a44c8c635f07b9e77acc1fd6eddfa2cb2968e26e (patch) | |
tree | ae2d9b01a6a2a53b515dc823784ec8b93c2ff688 /localmarkdown2sms | |
parent | 40f0de6ba055964f86972e59d16135ebda133f99 (diff) |
temporarily avoid stripping newlines.
Diffstat (limited to 'localmarkdown2sms')
-rwxr-xr-x | localmarkdown2sms | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |