diff --git a/src/data/codingcontracttypes.ts b/src/data/codingcontracttypes.ts index e8dfbea88..0a2cbb09d 100644 --- a/src/data/codingcontracttypes.ts +++ b/src/data/codingcontracttypes.ts @@ -532,7 +532,7 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [ } const sanitizedAns: string = removeBracketsFromArrayString(ans).replace(/\s/g, ""); - const ansArr: string[] = sanitizedAns.split(","); + const ansArr: string[] = sanitizedAns.split(",").map((ip) => ip.replace(/^"|"$/g, "")); if (ansArr.length !== ret.length) { return false; }