pull/32/head
kunfei 5 years ago
parent 507b35a8db
commit a6b5de1b7a
  1. 4
      app/src/main/java/io/legado/app/help/BookHelp.kt

@ -65,9 +65,7 @@ object BookHelp {
} }
private fun formatFolderName(folderName: String): String { private fun formatFolderName(folderName: String): String {
return folderName.replace("/", "") return folderName.replace("[\\\\/:*?\"<>|.]".toRegex(), "")
.replace(":", "")
.replace(".", "")
} }
fun formatAuthor(author: String?): String { fun formatAuthor(author: String?): String {

Loading…
Cancel
Save