mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update parser functions
This commit is contained in:
@ -166,8 +166,8 @@ func generateMemoMetadata(memo *store.Memo, creator *store.User) string {
|
||||
if len(description) == 0 {
|
||||
description = memo.Content
|
||||
}
|
||||
if len(description) > 100 {
|
||||
description = description[:100] + "..."
|
||||
if len(description) > 200 {
|
||||
description = description[:200] + "..."
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user