chore: update to frontend-lib-content-components 2.6.8

This commit is contained in:
Braden MacDonald
2024-08-17 16:23:19 -07:00
12 changed files with 47 additions and 48 deletions

View File

@@ -418,7 +418,7 @@ export class OLXParser {
[type]: defaultValue,
};
}
const isAnswerRange = /[([]\d*,\d*[)\]]/gm.test(numericalresponse['@_answer']);
const isAnswerRange = /[([]\s*\d*,\s*\d*\s*[)\]]/gm.test(numericalresponse['@_answer']);
answers.push({
id: indexToLetterMap[answers.length],
title: numericalresponse['@_answer'],