Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lua/render-markdown/render/inline/link.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ function Render:setup()
icon[1] = self.config.email
autolink = true
elseif self.node.type == 'image' then
icon[1] = self.config.image
local destination = self.node:child('link_destination')
if destination then
self.context.config:set_link_text(destination.text, icon)
end
icon[1] = self.config.image
title = self.node:child('link_title')
elseif self.node.type == 'inline_link' then
local destination = self.node:child('link_destination')
Expand Down