summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/index.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index e1206be..ea2b557 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -163,6 +163,8 @@ sub render_image {
// $strp_simple->parse_datetime($time);
my $dt;
+ $line =~ s{ \s* S-Bahn }{}ox;
+
if ( ( @grep_line and not( grep { $line =~ $_ } @grep_line ) )
or ( @grep_platform and not( $platform ~~ \@grep_platform ) )
or ( $line =~ m{ ^ (RB | RE | IC | EC) }x ) )