mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414
This commit is contained in:
parent
4ec8bf111b
commit
472be34bdf
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package sql
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"sort"
|
||||
"strings"
|
||||
|
|
@ -444,7 +445,7 @@ func fillGalleryCardCover(attrView *av.AttributeView, view *av.View, cardValues
|
|||
node = node.FirstChild
|
||||
}
|
||||
|
||||
buf := strings.Builder{}
|
||||
buf := bytes.Buffer{}
|
||||
for c := node; nil != c; c = c.Next {
|
||||
buf.WriteString(renderBlockDOMByNode(c, luteEngine))
|
||||
if 1024*4 < buf.Len() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue