Browse Source

fix: wrong file path name when renaming

Tienson Qin 3 years ago
parent
commit
08263d6f96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deps/graph-parser/src/logseq/graph_parser/util.cljs

+ 1 - 1
deps/graph-parser/src/logseq/graph_parser/util.cljs

@@ -116,7 +116,7 @@
                       (remove-boundary-slashes)
                       (path-normalize))]
      (if replace-slash?
-       (string/replace page #"/" "%2A")
+       (string/replace page #"/" "%2F")
        page))))
 
 (defn page-name-sanity-lc