fix: summary char min
This commit is contained in:
parent
5c487795c4
commit
54cfe29f7d
@ -3,7 +3,7 @@ import { useVIntl, defineMessage } from '@vintl/vintl'
|
|||||||
|
|
||||||
export const MIN_DESCRIPTION_CHARS = 500
|
export const MIN_DESCRIPTION_CHARS = 500
|
||||||
export const MAX_HEADER_LENGTH = 100
|
export const MAX_HEADER_LENGTH = 100
|
||||||
export const MIN_SUMMARY_CHARS = 125
|
export const MIN_SUMMARY_CHARS = 35
|
||||||
|
|
||||||
function analyzeHeaderLength(markdown: string): { hasLongHeaders: boolean; longHeaders: string[] } {
|
function analyzeHeaderLength(markdown: string): { hasLongHeaders: boolean; longHeaders: string[] } {
|
||||||
if (!markdown) return { hasLongHeaders: false, longHeaders: [] }
|
if (!markdown) return { hasLongHeaders: false, longHeaders: [] }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user