summaryrefslogtreecommitdiff
path: root/templates/_departures_dbris.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_departures_dbris.html.ep')
-rw-r--r--templates/_departures_dbris.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_departures_dbris.html.ep b/templates/_departures_dbris.html.ep
index dbd1a70..f769f13 100644
--- a/templates/_departures_dbris.html.ep
+++ b/templates/_departures_dbris.html.ep
@@ -33,7 +33,7 @@
<i class="material-icons" aria-label="Keine Echtzeitdaten vorhanden" style="font-size: 16px;">gps_off</i>
% }
</a>
- <span class="dep-line <%= $result->type // q{} %>">
+ <span class="dep-line <%= ($result->type // q{}) =~ tr{a-zA-Z_-}{}cdr %> <%= $result->line =~ s{ ^ \D+ \K \d .* $ }{}rx %>">
%= $result->line
</span>
<span class="dep-dest">