Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Jan 1, 2025
1 parent 02b367c commit 2ba983c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rewrite/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,10 @@ class HTMLRewriter {
controller.enqueue(
// [TODO]
htmlrewriter.isCharsetUTF8
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
? encoder.encode(text)
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
: encodeLatin1(text),
? // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
encoder.encode(text)
: // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
encodeLatin1(text),
);
});

Expand Down

0 comments on commit 2ba983c

Please sign in to comment.