From 4128e40d11bd4dda1fa39a1fdc017001d70ac765 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 3 Aug 2018 08:20:36 +0100 Subject: [PATCH] correct type Signed-off-by: Miek Gieben --- html/renderer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/renderer.go b/html/renderer.go index 3631416..9968278 100644 --- a/html/renderer.go +++ b/html/renderer.go @@ -879,7 +879,7 @@ func (r *Renderer) RenderNode(w io.Writer, node ast.Node, entering bool) ast.Wal r.outOneOfCr(w, entering, tag, "") case *ast.Link: r.link(w, node, entering) - case *ast.InternalLink: + case *ast.CrossReference: link := &ast.Link{Destination: node.Destination} r.link(w, link, entering) case *ast.Image: