aboutsummaryrefslogtreecommitdiff
path: root/webAO/client
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2024-03-07 19:07:36 +0100
committerstonedDiscord <Tukz@gmx.de>2024-03-07 19:07:36 +0100
commitd01decc989b7c99facc8f71d6298916b85ec994c (patch)
treeb863d66b47719b7fc2c918152ea7a22849a2f1d3 /webAO/client
parentcda90f55e45ef237e59d411fb84947b4d1145b2e (diff)
encoding oopsie
Diffstat (limited to 'webAO/client')
-rw-r--r--webAO/client/addTrack.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/client/addTrack.ts b/webAO/client/addTrack.ts
index 247f07e..d6b1519 100644
--- a/webAO/client/addTrack.ts
+++ b/webAO/client/addTrack.ts
@@ -1,12 +1,12 @@
import { client } from "../client";
-import { unescapeChat } from "../encoding";
+import { unescapeChat, safeTags } from "../encoding";
import { getFilenameFromPath } from "../utils/paths";
export const addTrack = (trackname: string) => {
const newentry = <HTMLOptionElement>document.createElement("OPTION");
const songName = getFilenameFromPath(trackname);
- newentry.text = unescapeChat(songName);
+ newentry.text = safeTags(unescapeChat(songName));
newentry.value = trackname;
(<HTMLSelectElement>(
document.getElementById("client_musiclist")