|
@@ -2110,7 +2110,7 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool,
|
|
unlinks = nil
|
|
unlinks = nil
|
|
if footnotesDefBlock := resolveFootnotesDefs(&refFootnotes, ret.Root.ID, blockRefTextLeft, blockRefTextRight); nil != footnotesDefBlock {
|
|
if footnotesDefBlock := resolveFootnotesDefs(&refFootnotes, ret.Root.ID, blockRefTextLeft, blockRefTextRight); nil != footnotesDefBlock {
|
|
// 如果是聚焦导出,可能存在没有使用的脚注定义块,在这里进行清理
|
|
// 如果是聚焦导出,可能存在没有使用的脚注定义块,在这里进行清理
|
|
- // Improve focus export PDF conversion of block refs to footnotes https://github.com/siyuan-note/siyuan/issues/10647
|
|
|
|
|
|
+ // Improve focus export conversion of block refs to footnotes https://github.com/siyuan-note/siyuan/issues/10647
|
|
footnotesRefs := ret.Root.ChildrenByType(ast.NodeFootnotesRef)
|
|
footnotesRefs := ret.Root.ChildrenByType(ast.NodeFootnotesRef)
|
|
for footnotesDef := footnotesDefBlock.FirstChild; nil != footnotesDef; footnotesDef = footnotesDef.Next {
|
|
for footnotesDef := footnotesDefBlock.FirstChild; nil != footnotesDef; footnotesDef = footnotesDef.Next {
|
|
exist := false
|
|
exist := false
|