mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
5a3ad845d2
commit
2dbef55788
3 changed files with 3 additions and 3 deletions
|
|
@ -608,7 +608,7 @@ func buildLinkRefs(defRootID string, refs []*sql.Ref, keywords []string) (ret []
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if "NodeListItem" == parent.Type || "NodeBlockquote" == parent.Type || "NodeSuperBlock" == parent.Type {
|
if "NodeListItem" == parent.Type || "NodeBlockquote" == parent.Type || "NodeSuperBlock" == parent.Type || "NodeCallout" == parent.Type {
|
||||||
refBlock := parentRefParagraphs[parent.ID]
|
refBlock := parentRefParagraphs[parent.ID]
|
||||||
if nil == refBlock {
|
if nil == refBlock {
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ type RiffCard struct {
|
||||||
|
|
||||||
func (block *Block) IsContainerBlock() bool {
|
func (block *Block) IsContainerBlock() bool {
|
||||||
switch block.Type {
|
switch block.Type {
|
||||||
case "NodeDocument", "NodeBlockquote", "NodeList", "NodeListItem", "NodeSuperBlock":
|
case "NodeDocument", "NodeBlockquote", "NodeList", "NodeListItem", "NodeSuperBlock", "NodeCallout":
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|
|
||||||
|
|
@ -650,7 +650,7 @@ func buildBacklinkListItemRefs(refDefs []*RefDefs) (originalRefBlockIDs map[stri
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if "NodeListItem" == parent.Type || "NodeBlockquote" == parent.Type || "NodeSuperBlock" == parent.Type {
|
if "NodeListItem" == parent.Type || "NodeBlockquote" == parent.Type || "NodeSuperBlock" == parent.Type || "NodeCallout" == parent.Type {
|
||||||
refBlock := parentRefParagraphs[parent.ID]
|
refBlock := parentRefParagraphs[parent.ID]
|
||||||
if nil == refBlock {
|
if nil == refBlock {
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue