From 8b6466467cd2ca4ce91ec351f77f89c6896afa14 Mon Sep 17 00:00:00 2001 From: freearhey Date: Mon, 26 Apr 2021 15:47:02 +0300 Subject: [PATCH] Update utils.js Escape icon url before displaying in xml --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index c3d4388..fe0034d 100644 --- a/src/utils.js +++ b/src/utils.js @@ -133,7 +133,7 @@ utils.convertToXMLTV = function ({ config, channels, programs }) { const start = program.start ? dayjs.utc(program.start).format('YYYYMMDDHHmmss ZZ') : '' const stop = program.stop ? dayjs.utc(program.stop).format('YYYYMMDDHHmmss ZZ') : '' const lang = program.lang || config.lang - const icon = program.icon + const icon = this.escapeString(program.icon) if (start && title) { output += `