diff --git a/ts/html-filter/element.ts b/ts/html-filter/element.ts
index eecae5a1f..4ef495f2f 100644
--- a/ts/html-filter/element.ts
+++ b/ts/html-filter/element.ts
@@ -30,10 +30,7 @@ function allowNone(element: Element): void {
}
const allow = (attrs: string[]): FilterMethod => (element: Element): void =>
- filterAttributes(
- (attributeName: string) => attrs.includes(attributeName),
- element
- );
+ filterAttributes((attributeName: string) => attrs.includes(attributeName), element);
function unwrapElement(element: Element): void {
element.replaceWith(...element.childNodes);