mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix: [display name]([[page name]]) is not counted as a page reference
This commit is contained in:
@@ -36,7 +36,12 @@
|
||||
(or
|
||||
(and
|
||||
(= typ "Search")
|
||||
;; FIXME: alert error
|
||||
(string? (second (:url (second block))))
|
||||
(text/page-ref? (second (:url (second block))))
|
||||
(text/page-ref-un-brackets! (second (:url (second block)))))
|
||||
|
||||
(and
|
||||
(= typ "Search")
|
||||
(not (contains? #{\# \* \/ \[} (first (second (:url (second block))))))
|
||||
(let [page (second (:url (second block)))
|
||||
ext (some-> (util/get-file-ext page) keyword)]
|
||||
|
||||
Reference in New Issue
Block a user