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
6 changes: 3 additions & 3 deletions lua/neorg/modules/core/export/html/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@ local function wrap_anchor()
end

local content
if #output > 0 and output[1] ~= "" then
content = output[1]
if state.link and state.link.link_description then
content = state.link.link_description
else
content = state.link.link_text
content = state.link.link_location_text
end

output = {
Expand Down