diff --git a/templates/planned.html.tera b/templates/planned.html.tera
index d757865..747fb3a 100644
--- a/templates/planned.html.tera
+++ b/templates/planned.html.tera
@@ -281,7 +281,7 @@
{% if trip.trip_type %}
-
{{ trip.trip_type.icon | safe }}{{ trip.trip_type.name }}
- {% endif -%}
+ {%- endif -%}
)
{% else %}
{{ trip.planned_starting_time }}
@@ -289,7 +289,7 @@
({{ trip.cox_name -}}
{% if trip.trip_type %}
- {{ trip.trip_type.icon | safe }} {{ trip.trip_type.name }}
- {% endif -%}
+ {%- endif -%}
)
{% endif %}