fix(rss): generation somehow included zwsp

This commit is contained in:
taskylizard 2024-07-27 04:09:39 +00:00
parent 67cf83587e
commit 762c06b2e0
No known key found for this signature in database
GPG key ID: 1820131ED1A24120

View file

@ -40,7 +40,7 @@ export async function generateFeed(config: SiteConfig): Promise<void> {
id: `${meta.hostname}${url.replace(/\/\d+\./, '/')}`,
link: `${meta.hostname}${url.replace(/\/\d+\./, '/')}`,
date: frontmatter.date,
content: html!
content: html?.replaceAll('&ZeroWidthSpace;', ''),
})
}