mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-19 10:54:06 -06:00
fix(contentIndex): restore cdata
This commit is contained in:
parent
3ea901334d
commit
fe65819cff
@ -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>`
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user