Render HTML in Timeline Events

Hi all,

I just created a Timeline Event template in my developer account. My details template looks like this:

### {{ title }}
{{ description }}

So, I got two tokens, “title” and “description”. Now I would like to add styling to the text in the description using HTML and the API. Thus, I am sending a POST request to https://api.hubapi.com/crm/v3/timeline/events that contains a token item with the property:

“description”: “<p>Test note #2 with <span style=\“background-color: #f5c26b;\”>color highlighting!</span></p>”,

However, in the end this is what is rendered.

Screenshot 2022-09-19 at 13.53.37.png

Does anybody know, how to add HTML styling to Timeline Event Detail tokens?

Hi @MThoma,

Thank you for reaching out to the Community!

I wanted to tag in a couple of other HubSpot experts to see if they have any advice:

hi @Renegade, @kizus, @DarianVretenar, do you have any tips for @MThoma? Thanks!

Cheers
Mia, Community Team

Hi @MiaSrebrnjak
Please can you help share what the solution for this is? I am experiencing the same issue too
cc: @Renegade, @kizus, @DarianVretenar