Merge pull request #9 from mcastellaneta/master

Add string escape for sub_title
This commit is contained in:
Aleksandr Statciuk 2022-05-09 13:09:45 +03:00 committed by GitHub
commit 1d0a21c6e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ utils.convertToXMLTV = function ({ channels, programs }) {
guest: program.guest
})
const icon = utils.escapeString(program.icon)
const sub_title = program.sub_title || ''
const sub_title = utils.escapeString(program.sub_title)
const url = program.url ? createURL(program.url, channel) : ''
if (start && stop && title) {