fix: memo content snippet

This commit is contained in:
Steven
2024-07-16 22:19:48 +08:00
parent 7c9f967a07
commit 446e38f15b
2 changed files with 1 additions and 3 deletions

View File

@ -1301,8 +1301,5 @@ func getMemoContentSnippet(content string) (string, error) {
}
plainText := renderer.NewStringRenderer().Render(nodes)
if len(plainText) > 100 {
return plainText[:100] + "...", nil
}
return plainText, nil
}