Bug fix
This commit is contained in:
@@ -1004,7 +1004,7 @@ module.exports = function (options) {
|
|||||||
const cellHeight = 25
|
const cellHeight = 25
|
||||||
|
|
||||||
translationChapters.sort((a, b) => a.index - b.index).forEach((translationChapter, index) => {
|
translationChapters.sort((a, b) => a.index - b.index).forEach((translationChapter, index) => {
|
||||||
const worksheet_name = `${index+1}-${translationChapter.translationArtifactVersion.dialect.countryId}-${translationChapter.translationArtifactVersion.dialect.languageId} - ${translationArtifactVersion.artifactVersion.artifact.name}`.substring(0, 30);
|
const worksheet_name = `${index+1}-${translationChapter.translationArtifactVersion.dialect.countryId}-${translationChapter.translationArtifactVersion.dialect.languageId} - ${translationChapter.translationArtifactVersion.artifactVersion.artifact.name}`.substring(0, 30);
|
||||||
|
|
||||||
// Don't have [ ] * ? : / \
|
// Don't have [ ] * ? : / \
|
||||||
const worksheet = workbook.addWorksheet(worksheet_name.replace(/[`*?:'\[\]\\\/]/gi, ""))
|
const worksheet = workbook.addWorksheet(worksheet_name.replace(/[`*?:'\[\]\\\/]/gi, ""))
|
||||||
|
|||||||
Reference in New Issue
Block a user