diff --git a/src/documents/admin.py b/src/documents/admin.py index 4143ef2a1..7a6f3c368 100644 --- a/src/documents/admin.py +++ b/src/documents/admin.py @@ -202,13 +202,11 @@ class DocumentAdmin(CommonAdmin): @staticmethod def _html_tag(kind, inside=None, **kwargs): - - attributes = format_html_join(' ', '{}="{}"', kwargs.items()) + attributes = format_html_join(' ', '{}="{}"', kwargs.items()) if inside is not None: return format_html("<{kind} {attributes}>{inside}", - kind=kind, attributes=attributes, inside=inside) - + kind=kind, attributes=attributes, inside=inside) return format_html("<{} {}/>", kind, attributes)