mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
fix: can't open external links like zotero and mail clients
close #3186 close #3235
This commit is contained in:
@@ -887,7 +887,7 @@
|
||||
(not (string/includes? s "."))
|
||||
(page-reference (:html-export? config) s config label)
|
||||
|
||||
(util/safe-re-find #"(?i)^http[s]?://" s)
|
||||
(util/url? s)
|
||||
(->elem :a {:href s
|
||||
:data-href s
|
||||
:target "_blank"}
|
||||
|
||||
Reference in New Issue
Block a user