mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 15:05:38 -04:00
[census][pl] clean up newlines
This commit is contained in:
parent
1864260fd6
commit
7ac15fdd17
@ -175,10 +175,10 @@ router.get('/census/export', handleErrorAsync(async (req, res) => {
|
||||
answer[`${i}_aggr_${aggr}`] = calculateAggregate(question.aggregates[aggr], answerForAggregate) ? 1 : '';
|
||||
}
|
||||
} else {
|
||||
answer[`${i}_`] = answers[i.toString()] || '';
|
||||
answer[`${i}_`] = (answers[i.toString()] || '').replace(/\n/g, ' | ');
|
||||
}
|
||||
if (question.writein) {
|
||||
answer[`${i}__writein`] = writins[i.toString()] || '';
|
||||
answer[`${i}__writein`] = (writins[i.toString()] || '').replace(/\n/g, ' | ');
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user