parent
c46ab38055
commit
6ea44eefa9
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class ProcedureExportService
|
|||
# transliterate: convert to ASCII characters
|
||||
# to ensure truncate respects 30 bytes
|
||||
# /\*?[] are invalid Excel worksheet characters
|
||||
options[:sheet_name] = I18n.transliterate(options[:sheet_name], '', locale: :en)
|
||||
options[:sheet_name] = I18n.transliterate(options[:sheet_name], locale: :en)
|
||||
.delete('/\*?[]')
|
||||
.truncate(30, omission: '')
|
||||
|
||||
|
|
Loading…
Reference in a new issue