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