mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
fix: notify users to switch to the new filename format
Notify users to switch to the new filename format if there're reserved chars when syncing. Also, this commit replace all `js/decodeURIComponent` with `safe-decode-uri-component` to avoid UI crashes.
This commit is contained in:
@@ -836,7 +836,7 @@
|
||||
[label]
|
||||
(when (and (= 1 (count label))
|
||||
(string? (last (first label))))
|
||||
(js/decodeURIComponent (last (first label)))))
|
||||
(gp-util/safe-decode-uri-component (last (first label)))))
|
||||
|
||||
(defn- get-page
|
||||
[label]
|
||||
|
||||
Reference in New Issue
Block a user