Algolia Autocomplete's html templates: How to use HTML entities such as •?

How do we use HTML entities such as • in Autocomplete’s html templates?

In the following JS code example, • is not interpreted by Autocomplete as HTML, but simply as normal text:

return html`<div> &bull; </div>`

You can insert them if you do the Unicode version (\u2022) - give this a shot it should work. I was able to find this old GitHub thread that explained why we can’t render the HTML entities (this is about highlights but I assume it’s much of the same issue):

Happy to help further, let us know! Thanks!

Awesome, this works. Thank you for your help!