server: Remove dashes from syntax theme name

This commit is contained in:
Elian Doran 2024-10-27 17:25:05 +02:00
parent 7952a5a81e
commit e1ae014b74
No known key found for this signature in database

View File

@ -150,7 +150,7 @@ function getSyntaxHighlightingThemes() {
return { return {
val: `default:${nameWithoutExtension}`, val: `default:${nameWithoutExtension}`,
title: nameWithoutExtension title: nameWithoutExtension.replace(/-/g, " ")
}; };
}); });
return allThemes; return allThemes;