From ab5efac75fb0f20afe74bef33a2cf7e9ba0ba40f Mon Sep 17 00:00:00 2001 From: bfahrenfort <59982409+bfahrenfort@users.noreply.github.com> Date: Sun, 1 Oct 2023 11:47:22 -0500 Subject: [PATCH] Fix: RSS title escaping (#521) * Fix title escaping * npm run format --- quartz/plugins/emitters/contentIndex.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quartz/plugins/emitters/contentIndex.ts b/quartz/plugins/emitters/contentIndex.ts index 911173e1b..69d0d376f 100644 --- a/quartz/plugins/emitters/contentIndex.ts +++ b/quartz/plugins/emitters/contentIndex.ts @@ -68,9 +68,9 @@ function generateRSSFeed(cfg: GlobalConfiguration, idx: ContentIndex, limit?: nu ${escapeHTML(cfg.pageTitle)} ${root} - ${!!limit ? `Last ${limit} notes` : "Recent notes"} on ${ - cfg.pageTitle - } + ${!!limit ? `Last ${limit} notes` : "Recent notes"} on ${escapeHTML( + cfg.pageTitle, + )} Quartz -- quartz.jzhao.xyz ${items}