Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Commit 7418084

Browse files
committed
Increase limit for rss
1 parent 5dc79c7 commit 7418084

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

velog-backend/src/lib/common.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ export function formatShortDescriptionForAtom(markdown: string): string {
9999
.replace(/[<>]/g, '');
100100

101101
return (
102-
removeMd(replaced.slice(0, 700))
103-
.slice(0, 700)
104-
.replace(/#/g, '') + (replaced.length > 500 ? '...' : '')
102+
removeMd(replaced.slice(0, 1200))
103+
.slice(0, 1200)
104+
.replace(/#/g, '') + (replaced.length > 1000 ? '...' : '')
105105
);
106106
}
107107

0 commit comments

Comments
 (0)