mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
fix: property regression : # should be a delimiter
Close #3916 Tests added.
This commit is contained in:
@@ -264,7 +264,7 @@
|
||||
(let [k (string/replace (name (nth e 1)) "_" "-")
|
||||
v (nth e 2)
|
||||
v (if-not (nil? v)
|
||||
(property/parse-property k v)
|
||||
(text/parse-property k v)
|
||||
v)
|
||||
v (if (coll? v) (first v) v)
|
||||
sym (if (= current-filter 'or)
|
||||
@@ -346,7 +346,7 @@
|
||||
(let [[k v] (rest e)
|
||||
k (string/replace (name k) "_" "-")]
|
||||
(if-not (nil? v)
|
||||
(let [v (property/parse-property k v)
|
||||
(let [v (text/parse-property k v)
|
||||
v (if (coll? v) (first v) v)
|
||||
sym '?v]
|
||||
[['?p :block/name]
|
||||
|
||||
Reference in New Issue
Block a user