From a6c79ab41ce98737e3aa6523b040e7c255e8d701 Mon Sep 17 00:00:00 2001 From: Gregor Eichelberger Date: Thu, 29 Feb 2024 17:04:50 +0100 Subject: [PATCH] Remove whitespace The language tag contains a space between the colon and the language part. This commit removes the space so the tag looks like `lang:de` instead of `lang: de`. --- src/main/SubtitleSelect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/SubtitleSelect.tsx b/src/main/SubtitleSelect.tsx index c871ea58d..e6ffc7791 100644 --- a/src/main/SubtitleSelect.tsx +++ b/src/main/SubtitleSelect.tsx @@ -94,7 +94,7 @@ const SubtitleSelect: React.FC = () => { // Converts tags from the config file format to opencast format const convertTags = (tags: subtitleTags) => { return Object.entries(tags) - .map(tag => `${tag[0]}: ${tag[1]}`) + .map(tag => `${tag[0]}:${tag[1]}`) .concat(); };