Unverified Commit 60786002 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

_history_trains: trim non-ascii characters from travel type for CSS selectors

parent 549f764d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
			% }
			<li class="collection-item">
				<a href="<%= $detail_link %>">
					<span class="dep-line <%= $travel->{type} // q{} %>">
					<span class="dep-line <%= ($travel->{type} // q{}) =~ tr{a-zA-Z_-}{}cdr %>">
						% if (not $travel->{is_motis}) {
							<%= $travel->{type} %>
						% }