diff --git a/lua/neorg/modules/core/export/markdown/module.lua b/lua/neorg/modules/core/export/markdown/module.lua index b4c127538..2d60c1f49 100644 --- a/lua/neorg/modules/core/export/markdown/module.lua +++ b/lua/neorg/modules/core/export/markdown/module.lua @@ -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