We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3329351 commit f0a06c9Copy full SHA for f0a06c9
velog-backend/src/lib/common.js
@@ -80,7 +80,7 @@ export function formatShortDescription(markdown: string): string {
80
.replace(/[<>]/g, '');
81
82
return (
83
- removeMd(replaced)
+ removeMd(replaced.slice(0, 500))
84
.slice(0, 200)
85
.replace(/#/g, '') + (replaced.length > 200 ? '...' : '')
86
);
0 commit comments