Render string with html as html, and not having it escaped and rendered as text

I have a component that makes a request to the server and gets some content. Part of that content is a string containing the HTML that needs to be rendered.
In JSX I know that usually such a task is resolved using something like

<div  dangerouslySetInnerHTML={{ __html: textWithHtml }} ></div>

For some reason, in stencil this is not working. Is there a way to inject such HTML?
If there is no such way, I will probably have to parse the string myself. You have any advice about how I should go about this?

try this innerHTML={{ __html: textWithHtml }}

check out this

That was unexpected. It works!
But for when other people search for this, it works with


No need for the object.