From 762c06b2e06f587fb3bb79b6937eb16264919769 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Sat, 27 Jul 2024 04:09:39 +0000 Subject: [PATCH] fix(rss): generation somehow included zwsp --- .vitepress/hooks/rss.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vitepress/hooks/rss.ts b/.vitepress/hooks/rss.ts index 81e4ca9f5..9b8473803 100644 --- a/.vitepress/hooks/rss.ts +++ b/.vitepress/hooks/rss.ts @@ -40,7 +40,7 @@ export async function generateFeed(config: SiteConfig): Promise { id: `${meta.hostname}${url.replace(/\/\d+\./, '/')}`, link: `${meta.hostname}${url.replace(/\/\d+\./, '/')}`, date: frontmatter.date, - content: html! + content: html?.replaceAll('​', ''), }) }