We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f73e5 commit aa77ef1Copy full SHA for aa77ef1
deps/db/src/logseq/db/frontend/db_ident.cljc
@@ -68,7 +68,7 @@
68
:cljs (exists? js/process)
69
:default false)
70
;; So that we don't have to change :user.{property|class} in our tests
71
- (keyword user-namespace (-> name-string (string/replace #"/|\s+" "-") (string/replace-first #"^(\d)" "NUM-$1")))
+ (keyword user-namespace (-> name-string (string/replace #"[/()]|\s+" "-") (string/replace-first #"^(\d)" "NUM-$1")))
72
(keyword user-namespace
73
(str
74
(->> (filter #(re-find #"[0-9a-zA-Z-]{1}" %) (seq name-string)) (apply str))
0 commit comments