mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-04-24 03:49:49 -05:00
This commit is contained in:
@@ -820,7 +820,7 @@ func tagFromNode(node *ast.Node) (ret string) {
|
||||
return ast.WalkContinue
|
||||
}
|
||||
|
||||
if ast.NodeTag == n.Type {
|
||||
if ast.NodeTag == n.Type || n.IsTextMarkType("tag") {
|
||||
tagBuilder.WriteString("#")
|
||||
tagBuilder.WriteString(n.Text())
|
||||
tagBuilder.WriteString("# ")
|
||||
|
||||
Reference in New Issue
Block a user