Skip to content

Commit

Permalink
fix: page name exclude Windows reserved path characters
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Oct 29, 2020
1 parent 47f8e51 commit 185eb43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/frontend/util.cljs
Original file line number Diff line number Diff line change
@@ -889,7 +889,8 @@
[page-name]
(-> page-name
(string/replace #"\s+" "_")
(string/replace "/" "_")))
;; Windows reserved path characters
(string/replace #"[\\/:\\*\\?\"<>|]+" "_")))

(defn lowercase-first
[s]

0 comments on commit 185eb43

Please sign in to comment.