mirror of
https://github.com/logseq/logseq.git
synced 2026-05-16 17:02:34 +00:00
fix: return empty vector for blank input in inline JSON parser
This commit is contained in:
@@ -323,7 +323,7 @@
|
||||
[text config]
|
||||
(try
|
||||
(if (string/blank? text)
|
||||
{}
|
||||
[]
|
||||
(-> text
|
||||
(inline-parse-json config)
|
||||
(common-util/json->clj)
|
||||
|
||||
Reference in New Issue
Block a user