Sfoglia il codice sorgente

:art: Improve importing for markdown syntax `#Tag` Fix https://github.com/siyuan-note/siyuan/issues/8882

Daniel 2 anni fa
parent
commit
1e8b5df293
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      kernel/model/import.go

+ 1 - 0
kernel/model/import.go

@@ -1063,6 +1063,7 @@ func buildBlockRefInText() {
 			}
 
 			t := parse.Inline("", n.Tokens, lute.ParseOptions) // 使用行级解析
+			parse.NestedInlines2FlattedSpans(t)
 			var children []*ast.Node
 			for c := t.Root.FirstChild.FirstChild; nil != c; c = c.Next {
 				children = append(children, c)