mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
38e38e83a4
commit
7bdff9eaeb
3 changed files with 7 additions and 9 deletions
|
|
@ -1362,7 +1362,7 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool,
|
|||
if n.IsTextMarkType("inline-math") {
|
||||
n.TextMarkInlineMathContent = strings.TrimSpace(n.TextMarkInlineMathContent)
|
||||
return ast.WalkContinue
|
||||
} else if n.IsTextMarkType("file-annotation-ref") {
|
||||
} else if treenode.IsFileAnnotationRef(n) {
|
||||
refID := n.TextMarkFileAnnotationRefID
|
||||
status := processFileAnnotationRef(refID, n, fileAnnotationRefMode)
|
||||
unlinks = append(unlinks, n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue