add "-" to allowed sanitized chars

pull/841/head
Mikael Finstad 4 years ago
parent fc7d4de774
commit 822a366235
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -110,7 +110,7 @@ export function setFileNameTitle(filePath) {
} }
export function filenamify(name) { export function filenamify(name) {
return name.replace(/[^0-9a-zA-Z_.]/g, '_'); return name.replace(/[^0-9a-zA-Z_\-.]/g, '_');
} }
export function withBlur(cb) { export function withBlur(cb) {

Loading…
Cancel
Save