How can I un-sanitize a toast message? I made a “Copy Deal” action button that createds a copy of the current deal when clicked. The cloud function returns : {status: ‘success’, message: ‘Deal <a href=‘[dealUrl]‘>ABC12</a>’ created.} HubSpot shows the message in a green toast but it doesn’t show the link, instead it sanitizes it, I assume, and the user sees the literal HTML code instead of a nice link. How can I tell HubSpot to not sanitize the link?
(I have the workaround - a nice modal with the link but my client wants everything "within the HubSpot UI").
res.json({"message": "<a href='https://app.hubspot.com/contacts/1234567/deal/7654321'>Deal Awesome Deal 1</a> has been created."})
shows: Deal <a href='https://app.hubspot.com/contacts/1234567/deal/7654321'>Awesome Deal 1</a> has been created. not the expected (where "Awesome Deal 1" is a link):