From e1ae014b743b514d14522f02bfcd83f11352ba64 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 27 Oct 2024 17:25:05 +0200 Subject: [PATCH] server: Remove dashes from syntax theme name --- src/routes/api/options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/api/options.ts b/src/routes/api/options.ts index 5b8f4aea4..459654a29 100644 --- a/src/routes/api/options.ts +++ b/src/routes/api/options.ts @@ -150,7 +150,7 @@ function getSyntaxHighlightingThemes() { return { val: `default:${nameWithoutExtension}`, - title: nameWithoutExtension + title: nameWithoutExtension.replace(/-/g, " ") }; }); return allThemes;