small fix for type name consistency
This commit is contained in:
parent
b3ff9d1a38
commit
5bdb9bdbaa
3 changed files with 44 additions and 15 deletions
|
|
@ -13,7 +13,7 @@ export function getFileName(item: MediaTypeModel) {
|
|||
}
|
||||
|
||||
export function replaceIllegalFileNameCharactersInString(string: string) {
|
||||
return string.replace(/[\\,#%&{}/*<>$"@.]*/g, '').replace(/:+/g, ' -');
|
||||
return string.replace(/[\\,#%&{}/*<>$"@.?]*/g, '').replace(/:+/g, ' -');
|
||||
}
|
||||
|
||||
export function replaceTags(template: string, mediaTypeModel: MediaTypeModel): string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue