diff --git a/scripts/commands/channels/editor.ts b/scripts/commands/channels/editor.ts index 838058bd..33058192 100644 --- a/scripts/commands/channels/editor.ts +++ b/scripts/commands/channels/editor.ts @@ -150,6 +150,7 @@ function getOptions(channelsIndex, channel: Channel) { const query = channel.name .replace(/\s(SD|TV|HD|SD\/HD|HDTV)$/i, '') .replace(/(\(|\)|,)/gi, '') + .replace(/\-/gi, ' ') .replace(/\+/gi, '') const similar = channelsIndex.search(query).map(item => new ApiChannel(item))