mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: links support capitalized HTTP
This commit is contained in:
@@ -461,7 +461,7 @@
|
||||
(not= \* (last s)))
|
||||
(->elem :a {:href (str "#" (anchor-link (subs s 1)))} (map-inline config label))
|
||||
|
||||
(re-find #"^http[s]?://" s)
|
||||
(re-find #"^(?i)http[s]?://" s)
|
||||
(->elem :a {:href s}
|
||||
(map-inline config label))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user