From 059848f8b0ae36e3a8fb4bd6fd3cda8531e5dce7 Mon Sep 17 00:00:00 2001 From: Abhi <31253403+abhiy13@users.noreply.github.com> Date: Mon, 14 Jul 2025 13:30:38 +0530 Subject: [PATCH] fix(rss): add cdata to escape html content for rss feed (#2046) * add cdata to escape html content * fix: remove redundant CDATA --- quartz/plugins/emitters/contentIndex.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/plugins/emitters/contentIndex.tsx b/quartz/plugins/emitters/contentIndex.tsx index 01d2e00..56392b3 100644 --- a/quartz/plugins/emitters/contentIndex.tsx +++ b/quartz/plugins/emitters/contentIndex.tsx @@ -58,7 +58,7 @@ function generateRSSFeed(cfg: GlobalConfiguration, idx: ContentIndexMap, limit?: ${escapeHTML(content.title)} https://${joinSegments(base, encodeURI(slug))} https://${joinSegments(base, encodeURI(slug))} - ${content.richContent ?? content.description} + ${content.date?.toUTCString()} `