From 37c1efd1770d76e8d9f850779a1c40c1f072448c Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 15 May 2024 15:54:00 +0200 Subject: [PATCH] fix: incorrect import !nuf --- frontend/src/ts/test/wikipedia.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/ts/test/wikipedia.ts b/frontend/src/ts/test/wikipedia.ts index 20fbef8c2..2e74959ad 100644 --- a/frontend/src/ts/test/wikipedia.ts +++ b/frontend/src/ts/test/wikipedia.ts @@ -1,5 +1,6 @@ import * as Loader from "../elements/loader"; import * as Misc from "../utils/misc"; +import * as Strings from "../utils/strings"; import * as JSONData from "../utils/json-data"; import { Section } from "../utils/misc"; @@ -301,7 +302,7 @@ export async function getSection(language: string): Promise
{ sectionText = sectionText.replace(/[\u200B-\u200D\uFEFF]/g, ""); // replace any fancy symbols - sectionText = Misc.cleanTypographySymbols(sectionText); + sectionText = Strings.cleanTypographySymbols(sectionText); // Remove non-ascii characters for English articles if (urlTLD === "en") {