mirror of
https://github.com/fmhy/edit.git
synced 2026-01-18 01:41:52 +11:00
fix(rss): generation somehow included zwsp
This commit is contained in:
parent
67cf83587e
commit
762c06b2e0
1 changed files with 1 additions and 1 deletions
|
|
@ -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('​', ''),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue