Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Mar 13, 2023
2 parents 97318de + 6186eab commit 9692638
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kernel/treenode/node.go
Expand Up @@ -162,6 +162,11 @@ func NodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi
}

switch n.Type {
case ast.NodeTableCell:
// 表格块写入数据库表时在单元格之间添加空格 https://github.com/siyuan-note/siyuan/issues/7654
if 0 < buf.Len() && ' ' != buf.Bytes()[buf.Len()-1] {
buf.WriteByte(' ')
}
case ast.NodeImage:
linkDest := n.ChildByType(ast.NodeLinkDest)
var linkDestStr, ocrText string
Expand Down

0 comments on commit 9692638

Please sign in to comment.