correct type

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben 2018-08-03 08:20:36 +01:00
parent fca7a9e0a6
commit 4128e40d11
1 changed files with 1 additions and 1 deletions

View File

@ -879,7 +879,7 @@ func (r *Renderer) RenderNode(w io.Writer, node ast.Node, entering bool) ast.Wal
r.outOneOfCr(w, entering, tag, "</aside>")
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: