fix(contentIndex): restore cdata

This commit is contained in:
bfahrenfort 2025-08-24 10:04:18 +02:00
parent 3ea901334d
commit fe65819cff

View File

@ -101,7 +101,7 @@ function generateRSSEntry(cfg: GlobalConfiguration, details: ContentDetails): En
<title>${escapeHTML(details.title)}</title>
<link>https://${joinSegments(base, encodeURI(simplifySlug(details.slug!)))}</link>
<guid>https://${joinSegments(base, encodeURI(simplifySlug(details.slug!)))}</guid>
<description>${details.richContent ?? details.description}</description>
<description><![CDATA[ ${details.richContent ?? details.description} ]]></description>
<pubDate>${details.date?.toUTCString()}</pubDate>
</item>`