Merge now copies anchor names

This commit is contained in:
Mike Farah
2021-02-11 10:58:40 +11:00
parent 7518dac99c
commit 55712afea6
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -61,6 +61,7 @@ func (n *CandidateNode) UpdateFrom(other *CandidateNode) {
n.Node.Content = other.Node.Content
n.Node.Value = other.Node.Value
n.Node.Alias = other.Node.Alias
n.Node.Anchor = other.Node.Anchor
}
func (n *CandidateNode) UpdateAttributesFrom(other *CandidateNode) {