diff --git a/kernel/sql/block.go b/kernel/sql/block.go index 9266d82f0..93b32d64e 100644 --- a/kernel/sql/block.go +++ b/kernel/sql/block.go @@ -24,7 +24,6 @@ import ( "github.com/88250/gulu" "github.com/88250/lute/ast" "github.com/88250/lute/html" - "github.com/88250/lute/lex" "github.com/siyuan-note/siyuan/kernel/av" "github.com/siyuan-note/siyuan/kernel/cache" "github.com/siyuan-note/siyuan/kernel/filesys" @@ -261,8 +260,6 @@ func nodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi buf.WriteString(" " + html.UnescapeHTMLStr(n.TextMarkAHref)) } } - case ast.NodeBackslash: - buf.WriteByte(lex.ItemBackslash) case ast.NodeBackslashContent: buf.Write(n.Tokens) case ast.NodeAudio, ast.NodeVideo: