fix: escape ]]> in podcast description
This commit is contained in:
1 parent
bc80a50b2a
commit
deede8e1e5
1 file changed
+1
-1
+1
-1
@@ -27,7 +27,7 @@ export async function updatePodcastRSS() {
|
|||||||
itemsXml += `
|
itemsXml += `
|
||||||
<item>
|
<item>
|
||||||
<title><![CDATA[${ep.title}]]></title>
|
<title><![CDATA[${ep.title}]]></title>
|
||||||
<description><![CDATA[${ep.title}]]></description>
|
<description><![CDATA[${ep.title.replace(/\]\]>/g, ']]>')}]]></description>
|
||||||
<author>${channelAuthor}</author>
|
<author>${channelAuthor}</author>
|
||||||
<category>${channelCategories}</category>
|
<category>${channelCategories}</category>
|
||||||
<language>${channelLanguage}</language>
|
<language>${channelLanguage}</language>
|
||||||
|
|||||||
Reference in new issue
Block a user