diff --git a/templates/base.html.twig b/templates/base.html.twig
index 3d131aa6..279f8d8e 100644
--- a/templates/base.html.twig
+++ b/templates/base.html.twig
@@ -13,7 +13,7 @@
-
{% filter trim %}{% block title %}{{ partdb_title}}{% endblock %}{% endfilter %}
+ {% apply trim %}{% block title %}{{ partdb_title}}{% endblock %}{% endapply %}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}