diff --git a/templates/planned.html.tera b/templates/planned.html.tera
index 521ec8c..d39f4d2 100644
--- a/templates/planned.html.tera
+++ b/templates/planned.html.tera
@@ -109,9 +109,9 @@
Uhr
({{ planned_event.name }}
- {% if planned_event.trip_type %}
+ {%- if planned_event.trip_type %}
- {{ planned_event.trip_type.icon | safe }} {{ planned_event.trip_type.name }}
- {% endif %}
+ {%- endif -%}
)