diff options
-rw-r--r-- | templates/_format_train.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_format_train.html.ep b/templates/_format_train.html.ep index e82f3f9..cb81211 100644 --- a/templates/_format_train.html.ep +++ b/templates/_format_train.html.ep @@ -1,7 +1,7 @@ % if ($journey->{extra_data}{wagonorder_pride}) { 🏳️🌈 % } -<span class="dep-line <%= $journey->{train_type} // q{} %>"> +<span class="dep-line <%= ($journey->{train_type} // q{}) =~ tr{a-zA-Z_-}{}cdr %>"> % if (not $journey->{is_motis}) { <%= $journey->{train_type} %> % } |