HTML not rendering when passed through a contact property

My colleague and I are attempting to pass simple HTML (unordered list) through a contact property in a single-send API marketing email. Our client wants to pass information through this property via API.

We tested this (multi-line text property) with HTML and it worked several weeks ago, but upon recent review it appears that the HTML is no longer rendering, rather showing as plain text. Screenshot of rendering issue below.

Screen Shot 2022-07-27 at 12.26.58 PM.png

We have also tried to add a “| safe” to the property to test if rendering would work, no luck there.

Does anyone have an idea of how to render HTML through a contact property? Or has this ability been removed?

Hi, @CCostigan :waving_hand: Welcome to the community! Let’s see if we can get the conversation started. Hey @Anton @Kevin-C @louischausse have you built out something like this using HTML stored in a Contact property and then passing it into an email?

Best,

Jaycee

I have done the same in the past and it worked. It worked for you as well but suddenly stop working. If no changes were made to your code and process, this may be on HubSpot side.
check the changelog blog for an update on this or contact directly hubspot support

Don’t forget to mark my reply as a solution if you are satisfied. If not, do not hesitate to ask me anything!

@CCostigan the solution to your problem is probably to create a “Rich text” Property instead of “multi line text” property

Don’t forget to mark my reply as a solution if you are satisfied. If not, do not hesitate to ask me anything!