File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ export async function genFeed(config: SiteConfig, rssOptions: RSSOptions) {
136136 const { baseUrl, filename } = rssOptions
137137
138138 // eslint-disable-next-line unused-imports/no-unused-vars
139- const { renderHTML, transform = ( v ) => v , ...restOps } = rssOptions
139+ const { renderHTML, transform = v => v , ...restOps } = rssOptions
140140 const feed = new Feed ( {
141141 id : rssOptions . baseUrl ,
142142 link : rssOptions . baseUrl ,
@@ -158,7 +158,7 @@ export async function genFeed(config: SiteConfig, rssOptions: RSSOptions) {
158158 id : link ,
159159 link,
160160 description,
161- content : transform ( htmlCache . get ( post . filepath ) ? .replaceAll ( '​' , '' ) ) ,
161+ content : transform ( ( htmlCache . get ( post . filepath ) ?? '' ) . replaceAll ( '​' , '' ) ) ,
162162 author : [
163163 {
164164 name : author ,
You can’t perform that action at this time.
0 commit comments