better filenames

pull/1/head
ansuz 8 years ago
parent f1619f4a0f
commit 8c914dfe1f

@ -361,7 +361,8 @@ define([
};
var fixFileName = common.fixFileName = function (filename) {
return filename.replace(/ /g, '-').replace(/\//g, '_');
return filename.replace(/ /g, '-').replace(/[\/\?]/g, '_')
.replace(/_+/g, '_');
};
var importContent = common.importContent = function (type, f) {

Loading…
Cancel
Save