fix: escape ]]> in podcast description

This commit is contained in:
2025-06-04 13:22:33 +09:00
parent bc80a50b2a
commit deede8e1e5

View File

@ -27,7 +27,7 @@ export async function updatePodcastRSS() {
itemsXml += `
<item>
<title><![CDATA[${ep.title}]]></title>
<description><![CDATA[${ep.title}]]></description>
<description><![CDATA[${ep.title.replace(/\]\]>/g, ']]&gt;')}]]></description>
<author>${channelAuthor}</author>
<category>${channelCategories}</category>
<language>${channelLanguage}</language>