We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afcada2 commit b401c9dCopy full SHA for b401c9d
src/lib/utils-common/html.ts
@@ -45,6 +45,8 @@ export function escapeHtml(html: string) {
45
* Ref: #2714
46
*/
47
export function createNormalizedUrl(url: string) {
48
+ // We are intentionally operating on code points here.
49
+ // eslint-disable-next-line @typescript-eslint/no-misused-spread
50
const codePoints: number[] = [...url].map((c) => c.codePointAt(0)!);
51
52
for (let i = 0; i < codePoints.length; ++i) {
0 commit comments