summaryrefslogtreecommitdiff
path: root/lib/Travel/Status
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-06-27 23:24:10 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-06-27 23:24:10 +0200
commit969a501c444b9c583d4fb577f33c0c0008e4c1ec (patch)
tree7d92ac94f98670258311b97e59428bb6adf3510a /lib/Travel/Status
parentba17712ad9ae3bd1d695bb3ab32df6ca9fba79aa (diff)
DeutscheBahn.pm: Replace newlines by space instead of deleting them
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r--lib/Travel/Status/DE/DeutscheBahn.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm
index 577f72a..673f149 100644
--- a/lib/Travel/Status/DE/DeutscheBahn.pm
+++ b/lib/Travel/Status/DE/DeutscheBahn.pm
@@ -123,7 +123,7 @@ sub results {
my @via;
for my $str ( $time, $train, $dest, $platform, $info ) {
- $str =~ s/\n//mg;
+ $str =~ s/\n/ /mg;
$str =~ tr/ //s;
}