Skip to content

Commit

Permalink
fix(export): gsub export links that contain #, ?. closes #807 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pysan3 authored Apr 27, 2023
1 parent d61c4d1 commit 7f3a3b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/neorg/modules/core/export/markdown/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ module.public = {

if state.is_url then
state.is_url = false
output[#output - 1] = vim.uri_from_fname(output[#output - 1]):sub(string.len("file://") + 1)
return output
end

Expand Down

0 comments on commit 7f3a3b8

Please sign in to comment.