This commit is contained in:
Daniel 2024-11-27 08:39:24 +08:00
parent a96da3dff0
commit 55a4fdbd8b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -512,9 +512,6 @@ func nodeContentByBlock(block *Block) (ret string) {
if ret = block.Name; "" != ret {
return
}
if ret = block.Memo; "" != ret {
return
}
ret = block.Content
if maxLen := 48; maxLen < utf8.RuneCountInString(ret) {
ret = gulu.Str.SubStr(ret, maxLen) + "..."