From 3bc921a08fc7b3306563e8a86a7efd4db1036995 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Thu, 12 Dec 2024 23:07:35 +0100 Subject: get rid of sageTags in a few places plan is to migrate to createTextNode --- webAO/packets/handlers/handleEI.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webAO/packets/handlers/handleEI.ts') diff --git a/webAO/packets/handlers/handleEI.ts b/webAO/packets/handlers/handleEI.ts index d134466..3d15766 100644 --- a/webAO/packets/handlers/handleEI.ts +++ b/webAO/packets/handlers/handleEI.ts @@ -1,6 +1,6 @@ import { client } from "../../client"; import { AO_HOST } from "../../client/aoHost"; -import { prepChat, safeTags } from "../../encoding"; +import { prepChat } from "../../encoding"; /** * Handles incoming evidence information, containing only one evidence @@ -18,7 +18,7 @@ export const handleEI = (args: string[]) => { client.evidences[evidenceID] = { name: prepChat(arg[0]), desc: prepChat(arg[1]), - filename: safeTags(arg[3]), + filename: arg[3], icon: `${AO_HOST}evidence/${encodeURI(arg[3].toLowerCase())}`, }; -- cgit