Fixed Goals Text in CareerCoach parsing.
This commit is contained in:
parent
7c29439ac3
commit
bb7ec5281e
@ -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 />")}`
|
||||
|
Loading…
Reference in New Issue
Block a user