We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1b7f1a commit e5b800eCopy full SHA for e5b800e
lua/orgmode/org/links/types/http.lua
@@ -1,5 +1,3 @@
1
-local utils = require('orgmode.utils')
2
-
3
---@class OrgLinkHttp:OrgLinkType
4
---@field private files OrgFiles
5
local OrgLinkHttp = {}
@@ -39,7 +37,7 @@ end
39
37
---@param link string
40
38
---@return string | nil
41
function OrgLinkHttp:_parse(link)
42
- local is_url = link:match('^https?://(.+)$')
+ local is_url = link:match('^https?:.+$')
43
if is_url then
44
return link
45
end
0 commit comments