diff --git a/aleksis/core/templatetags/html_helpers.py b/aleksis/core/templatetags/html_helpers.py
index 2601b3aad97453ce761e02d86a6443260ceab473..77b198f3f2cf7eff0a48ec39fb2924db8c047840 100644
--- a/aleksis/core/templatetags/html_helpers.py
+++ b/aleksis/core/templatetags/html_helpers.py
@@ -1,5 +1,3 @@
-from typing import Any
-
 from django import template
 
 from bs4 import BeautifulSoup
@@ -14,7 +12,7 @@ def add_class_to_el(value: str, arg: str) -> str:
     Example: {{ mymodel.myhtmlfield|add_class_to_el:"ul,browser-default"
     """
 
-    el, cls = value.split(",")
+    el, cls = arg.split(",")
     soup = BeautifulSoup(value, "html.parser")
 
     for el in soup.find_all(el):