mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
Finish block-ref helpers
There were a couple scattered in 2 text namespaces and there were a couple uses of block-ref that involved escaping. Removed block-ref-un-brackets! once it was seen as the equivalent of an or statement
This commit is contained in:
committed by
Tienson Qin
parent
a3d30e0b52
commit
001e0d302d
@@ -122,7 +122,3 @@
|
||||
(string/join "/" parts)
|
||||
(last parts))
|
||||
js/decodeURI))))
|
||||
|
||||
(defn extract-all-block-refs
|
||||
[content]
|
||||
(map second (re-seq #"\(\(([a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12})\)\)" content)))
|
||||
|
||||
Reference in New Issue
Block a user