fix: property regression : # should be a delimiter

Close #3916

Tests added.
This commit is contained in:
Tienson Qin
2022-01-16 12:35:32 +08:00
parent d360a11ed8
commit 2401ce9e9a
10 changed files with 94 additions and 123 deletions

View File

@@ -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]