Escape channel logo url
This commit is contained in:
parent
098c43973d
commit
0de1b19830
|
@ -109,7 +109,8 @@ utils.convertToXMLTV = function ({ config, channels, programs }) {
|
|||
const displayName = this.escapeString(channel.name)
|
||||
output += `<channel id="${id}"><display-name>${displayName}</display-name>`
|
||||
if (channel.logo) {
|
||||
output += `<icon src="${channel.logo}" />`
|
||||
const logo = this.escapeString(channel.logo)
|
||||
output += `<icon src="${logo}" />`
|
||||
}
|
||||
output += `</channel>\r\n`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue