fix: make recipe crawling work
This commit is contained in:
@@ -17,6 +17,7 @@ export function safeFileName(input: string): string {
|
||||
.normalize("NFKD")
|
||||
.replace(/[\u0300-\u036f]/g, "")
|
||||
.replace(/[\s-]+/g, "_")
|
||||
.replace(/-+/g, "-")
|
||||
.replace(/[^A-Za-z0-9_]+/g, "")
|
||||
.replace(/_+/g, "_")
|
||||
// Trim underscores/dots from ends and prevent leading dots
|
||||
|
||||
Reference in New Issue
Block a user