fix: always use underscore

This commit is contained in:
2026-05-03 00:17:50 +02:00
parent 93f1f380ec
commit eaf6f5976d
+1 -1
View File
@@ -328,6 +328,6 @@ export const toSafeName = (name: string) => {
.replace(/[\x00-\x1F\x7F]/g, '_') .replace(/[\x00-\x1F\x7F]/g, '_')
.replace(/[\s-]+/g, '_') .replace(/[\s-]+/g, '_')
.replace(/_+/g, '_') .replace(/_+/g, '_')
.replace(/[. ]+$/g, '') .replace(/[. ]+$/g, '_')
); );
}; };