Skip to content

Commit

Permalink
fix(rss): Try CDATA on the guid as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Mar 17, 2024
1 parent a75b8c9 commit 23ba884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/rss/catalogue.astro
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function makeOutro() {
<description><![CDATA[Entry for ${entry.data.title}]]></description>
<enclosure url="${(await getImage({ src: entry.data.cover, width: 240 })).src}" length="0" type="image/${entry.data.cover.format}" />
<pubDate>${new Date(entry.data.finishedDate).toUTCString()}</pubDate>
<guid isPermaLink="false">${entry.data.title}</guid>
<guid isPermaLink="false"><![CDATA[${entry.data.title}]]></guid>
<content:encoded><![CDATA[${prettyRating(entry.data.rating)}<br/>`.trim();
const end = `]]></content:encoded>
</item>\n`.trimStart();
Expand Down

0 comments on commit 23ba884

Please sign in to comment.