Skip to content

Commit

Permalink
Merge pull request #12476 from tharikaGitHub/patch-master-fixes
Browse files Browse the repository at this point in the history
Fix issue with documents having white space in their names
  • Loading branch information
tharikaGitHub committed Jul 2, 2024
2 parents c42c9b5 + 31b0989 commit c6401b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ public static void addDocumentationToArchive(String archivePath, Identifier iden
*/
private static String cleanFolderName(String name) {
// Replace everything but [a-zA-Z0-9.-]
return name.replaceAll("[^a-zA-Z0-9\\.\\-]", "_");
return name.replaceAll("[^a-zA-Z0-9\\.\\- ]", "_");
}

/**
Expand Down

0 comments on commit c6401b2

Please sign in to comment.