🐛 移动文档时 hpath 未跟随
This commit is contained in:
parent
c5c9884d38
commit
63303cec81
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ func NodeHash(node *ast.Node, tree *parse.Tree, luteEngine *lute.Lute) string {
|
|||
md = FormatNode(node, luteEngine)
|
||||
}
|
||||
hpath := tree.HPath
|
||||
data := tree.Path + hpath + string(ial) + md
|
||||
data := tree.Box + tree.Path + hpath + string(ial) + md
|
||||
return fmt.Sprintf("%x", sha256.Sum256(gulu.Str.ToBytes(data)))[:7]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue