# Render HTML in Timeline Events

**URL:** <https://community.hubspot.com/t/render-html-in-timeline-events/65352>\
**Category:** APIs & Integrations\
**Tags:** templates\
**Created:** [September 19, 2022, 11:54am UTC](https://community.hubspot.com/t/render-html-in-timeline-events/65352 "2022-09-19T11:54:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MThoma](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@MThoma](https://community.hubspot.com/u/MThoma)\
**Post date:** [September 19, 2022, 11:54am UTC](https://community.hubspot.com/t/render-html-in-timeline-events/65352/1 "2022-09-19T11:54:43Z")

</div>

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](https://api.hubapi.com/crm/v3/timeline/events%22) 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](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/7/27a7494e5d683e876253ae841f1290c5a372d28d.png)

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

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [September 20, 2022, 10:20am UTC](https://community.hubspot.com/t/render-html-in-timeline-events/65352/2 "2022-09-20T10:20:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![NedyUdombat](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@NedyUdombat](https://community.hubspot.com/u/NedyUdombat)\
**Post date:** [November 17, 2023, 3:40pm UTC](https://community.hubspot.com/t/render-html-in-timeline-events/65352/3 "2023-11-17T15:40:04Z")

</div>

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