From 8c1c1c78d7d9d853be774b5f0d0bfdd92c6acb8a 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 911173e1..69d0d376 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}