Setting escapeHTML on the hits widget makes highlightedTagName in highlight widget useless

Here’s a simple example based on the default sandbox. The only changes I made were setting escapeHTML on the hits widget and setting highlightedTagName to mark. When running a search such as “air”, you can see that all of the highlights are wrapped in em tags instead of mark tags as expected.

Any insight?

condescending-benji-nvox5 - CodeSandbox

Just bumping this to see if someone could help me by pointing out what I’m doing wrong or acknowledging that this is a bug.

Thanks.

@cindy.cullen I’m mentioning you in hopes of getting some help on this issue of mine. Help please?