diff --git a/src/commands/survey.js b/src/commands/survey.js index d6ffdd7..117f340 100644 --- a/src/commands/survey.js +++ b/src/commands/survey.js @@ -70,7 +70,7 @@ module.exports = class SurveyCommand extends Command { encoding: 'utf8' }); - template = template.replace(/\n|\t/, ''); + template = template.replace(/[\r\n\t]/g, ''); survey.questions.unshift('Ticket #');