aboutsummaryrefslogtreecommitdiffhomepage
path: root/markup/goldmark/render_hooks.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/goldmark/render_hooks.go')
-rw-r--r--markup/goldmark/render_hooks.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/markup/goldmark/render_hooks.go b/markup/goldmark/render_hooks.go
index ecdd7f91e..8dcdc39c3 100644
--- a/markup/goldmark/render_hooks.go
+++ b/markup/goldmark/render_hooks.go
@@ -197,8 +197,6 @@ func (r *hookedRenderer) renderImage(w util.BufWriter, source []byte, node ast.N
},
)
- ctx.AddIdentity(lr)
-
return ast.WalkContinue, err
}
@@ -284,11 +282,6 @@ func (r *hookedRenderer) renderLink(w util.BufWriter, source []byte, node ast.No
},
)
- // TODO(bep) I have a working branch that fixes these rather confusing identity types,
- // but for now it's important that it's not .GetIdentity() that's added here,
- // to make sure we search the entire chain on changes.
- ctx.AddIdentity(lr)
-
return ast.WalkContinue, err
}
@@ -353,11 +346,6 @@ func (r *hookedRenderer) renderAutoLink(w util.BufWriter, source []byte, node as
},
)
- // TODO(bep) I have a working branch that fixes these rather confusing identity types,
- // but for now it's important that it's not .GetIdentity() that's added here,
- // to make sure we search the entire chain on changes.
- ctx.AddIdentity(lr)
-
return ast.WalkContinue, err
}
@@ -443,8 +431,6 @@ func (r *hookedRenderer) renderHeading(w util.BufWriter, source []byte, node ast
},
)
- ctx.AddIdentity(hr)
-
return ast.WalkContinue, err
}