more stuff
This commit is contained in:
parent
42610459d5
commit
c7a75ff93c
5 changed files with 55 additions and 9 deletions
|
|
@ -13,5 +13,5 @@ export function getFileName(item: MediaTypeModel) {
|
|||
}
|
||||
|
||||
export function replaceIllegalFileNameCharactersInString(string: string) {
|
||||
return string.replace(/[\\,#%&{}/*<>$":@.]*/g, '');
|
||||
return string.replace(/[\\,#%&{}/*<>$"@.]*/g, '').replace(/:+/g, ' -');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue