mirror of https://github.com/logseq/logseq
fix: regex
parent
b3df6ce33c
commit
9366bc7d5f
|
@ -461,7 +461,7 @@
|
|||
(not= \* (last s)))
|
||||
(->elem :a {:href (str "#" (anchor-link (subs s 1)))} (map-inline config label))
|
||||
|
||||
(re-find #"^(?i)http[s]?://" s)
|
||||
(re-find #"(?i)^http[s]?://" s)
|
||||
(->elem :a {:href s}
|
||||
(map-inline config label))
|
||||
|
||||
|
|
Loading…
Reference in New Issue