diff --git a/templates/banned.html b/templates/banned.html
index 65d66281..1dcdc8e8 100644
--- a/templates/banned.html
+++ b/templates/banned.html
@@ -1,4 +1,4 @@
-{% filter remove_whitespace %}
+{% apply remove_whitespace %}
{# Automatically removes unnecessary whitespace #}
@@ -142,4 +142,4 @@
{% endif %}
{% endif %}
-{% endfilter %}
+{% endapply %}
diff --git a/templates/notbanned.html b/templates/notbanned.html
index 6654b6d6..25e6f88f 100644
--- a/templates/notbanned.html
+++ b/templates/notbanned.html
@@ -1,7 +1,7 @@
-{% filter remove_whitespace %}
+{% apply remove_whitespace %}
{# Automatically removes unnecessary whitespace #}
You are not banned!
Well done on not being terrible!
-{% endfilter %}
+{% endapply %}
diff --git a/templates/post_thread_fileboard.html b/templates/post_thread_fileboard.html
index 1a11ff79..c1fe2b9b 100644
--- a/templates/post_thread_fileboard.html
+++ b/templates/post_thread_fileboard.html
@@ -1,4 +1,4 @@
-{% filter remove_whitespace %}
+{% apply remove_whitespace %}
{# tabs and new lines will be ignored #}
{# we are intentionally breaking the thread_ID convention: the jses need to handle this case differently #}
@@ -39,4 +39,4 @@
[{% trans %}Reply{% endtrans %}]
-{% endfilter %}
+{% endapply %}
diff --git a/templates/themes/basic/index.html b/templates/themes/basic/index.html
index d5d1c820..79c60509 100644
--- a/templates/themes/basic/index.html
+++ b/templates/themes/basic/index.html
@@ -1,4 +1,4 @@
-{% filter remove_whitespace %}
+{% apply remove_whitespace %}
@@ -54,4 +54,4 @@
{% endverbatim %}
-{% endfilter %}
+{% endapply %}
diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html
index 12542a70..3be4152e 100644
--- a/templates/themes/catalog/catalog.html
+++ b/templates/themes/catalog/catalog.html
@@ -1,4 +1,4 @@
-{% filter remove_whitespace %}
+{% apply remove_whitespace %}
@@ -105,4 +105,4 @@
{% endverbatim %}
-{% endfilter %}
+{% endapply %}
diff --git a/templates/themes/categories/news.html b/templates/themes/categories/news.html
index 34f71364..27aeed16 100644
--- a/templates/themes/categories/news.html
+++ b/templates/themes/categories/news.html
@@ -1,4 +1,4 @@
-{% filter remove_whitespace %}
+{% apply remove_whitespace %}