Skip to content

Commit

Permalink
Remove whitespace
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
geichelberger committed Feb 29, 2024
1 parent 1b5028b commit a6c79ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/SubtitleSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};

Expand Down

0 comments on commit a6c79ab

Please sign in to comment.