mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
This commit is contained in:
parent
64bea9c004
commit
aaedbb2a7f
5 changed files with 26 additions and 4 deletions
|
|
@ -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("# ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue