mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix: property regression : # should be a delimiter
Close #3916 Tests added.
This commit is contained in:
@@ -168,9 +168,6 @@
|
||||
(= "List" (first block))
|
||||
(:name (first (second block)))))
|
||||
|
||||
(defonce non-parsing-properties
|
||||
(atom #{"background-color" "background_color"}))
|
||||
|
||||
;; TODO: we should move this to mldoc
|
||||
(defn extract-properties
|
||||
[properties]
|
||||
@@ -199,11 +196,10 @@
|
||||
"id"
|
||||
k)
|
||||
v (if (coll? v)
|
||||
(->> (remove util/wrapped-by-quotes? v)
|
||||
(remove string/blank?))
|
||||
(remove string/blank? v)
|
||||
(if (string/blank? v)
|
||||
nil
|
||||
(property/parse-property k v)))
|
||||
(text/parse-property k v)))
|
||||
k (keyword k)
|
||||
v (if (and
|
||||
(string? v)
|
||||
|
||||
Reference in New Issue
Block a user