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
|
const goalsMessage = goalsText
|
||||||
? `Your goals include:<br />${goalsText
|
? `Your goals include:<br />${goalsText
|
||||||
.split(/\d+\.\s?/)
|
.split(/^\d+\.\s+/gm)
|
||||||
.filter(Boolean)
|
.filter(Boolean)
|
||||||
.map((goal) => `• ${goal.trim()}`)
|
.map((goal) => `• ${goal.trim()}`)
|
||||||
.join("<br />")}`
|
.join("<br />")}`
|
||||||
|
Loading…
Reference in New Issue
Block a user