Update format.js

what-a-patch-1
Aleksandr Statciuk 4 years ago
parent 92d0e7fc9b
commit e659d587d0

@ -146,7 +146,8 @@ function updateGroupTitle(channel) {
function normalizeUrl(channel) {
const normalized = normalize(channel.url, { stripWWW: false })
channel.updateUrl(normalized)
const decoded = decodeURIComponent(normalized).replace(/\s/g, '+')
channel.updateUrl(decoded)
}
function updateResolution(channel, metadata) {

Loading…
Cancel
Save