🎨 导出 PDF
This commit is contained in:
parent
dfda59025c
commit
542f543c85
1 changed files with 4 additions and 0 deletions
|
@ -1140,6 +1140,10 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros bool) (ret *parse.T
|
|||
n.InsertBefore(&ast.Node{Type: ast.NodeFootnotesRef, Tokens: []byte("^" + refFoot.refNum), FootnotesRefId: refFoot.refNum, FootnotesRefLabel: []byte("^" + refFoot.refNum)})
|
||||
}
|
||||
unlinks = append(unlinks, n)
|
||||
if nil != n.Next && ast.NodeKramdownSpanIAL == n.Next.Type {
|
||||
// 引用加排版标记(比如颜色)重叠时丢弃后面的排版属性节点
|
||||
unlinks = append(unlinks, n.Next)
|
||||
}
|
||||
return ast.WalkSkipChildren
|
||||
})
|
||||
for _, n := range unlinks {
|
||||
|
|
Loading…
Add table
Reference in a new issue