diff --git a/templates/history.html.ep b/templates/history.html.ep
index 02d82ab..24434d0 100644
--- a/templates/history.html.ep
+++ b/templates/history.html.ep
@@ -15,7 +15,7 @@
% if ($travel->{completed}) {
<%= $travel->{sched_departure}->strftime('%d.%m.%Y') %> |
- <%= $travel->{type} %> <%= $travel->{line} // $travel->{no} %> |
+ <%= $travel->{type} %> <%= $travel->{line} // '' %> <%= $travel->{no} %> |
<%= $travel->{from_name} %> → <%= $travel->{to_name} %> |
<%= $travel->{rt_departure}->strftime('%H:%M') %>
% if ($travel->{sched_departure} != $travel->{rt_departure}) {
|