Fixed Goals Text in CareerCoach parsing.

This commit is contained in:
Josh 2025-06-09 19:13:05 +00:00
parent 58866fdc35
commit 1c23ca8d07

View File

@ -118,7 +118,7 @@ const interestInventoryMessage = hasInterestAnswers
const goalsMessage = goalsText
? `Your goals include:<br />${goalsText
.split(/\d+\.\s?/)
.split(/^\d+\.\s+/gm)
.filter(Boolean)
.map((goal) => `${goal.trim()}`)
.join("<br />")}`