Skip to content

Commit

Permalink
Merge branch 'master' of github.com:logseq/logseq
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Feb 5, 2021
2 parents d3ff3a1 + a969f02 commit 3dba851
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/frontend/components/block.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,8 @@

(re-find #"(?i)^http[s]?://" s)
(->elem :a {:href s
:data-href s}
:data-href s
:target "_blank"}
(map-inline config label))

(and (util/electron?) (config/local-asset? s))
Expand Down Expand Up @@ -679,7 +680,8 @@
:a
(cond->
{:href href
:data-href href}
:data-href href
:target "_blank"}
title
(assoc :title title))
(map-inline config label)))))
Expand Down

0 comments on commit 3dba851

Please sign in to comment.