Add HTML formatting dynamically to entry/notification email instead of raw string

I want to dynamically fill a textarea field with some HTML. I’ve got the whole setup working, but the HTML tags is just shown in the entire. Is there a way to format a certain merge that so that it will encode (?) the HTML.

What I have at the moment:

const myDynamicContent =`
<strong>Some title</strong>
<p>Some content</p>
`

and when I view the entry in the back-end of within my email it looks like this:

<strong>Some title</strong>
<p>Some content</p>

and I want it to look like this

Some title

Some content

is there a way for a merge tag to be encoded to HTML instead of showing the raw string? Something like `{My Field:encodeHTML}

Hello. A textarea will not show HTML formatting, unless you have enabled the Rich Text Editor. I recommend opening a support ticket for this issue, so we can get more details, your actual code, and a link to the page on your site where we can see the form.

Thank you.