So I have a problem , I created a custom highlight like so:
customHighlight={() => ({
highlight: {
pre_tags: ['<mark>'],
post_tags: ['</mark>'],
fields: {
text: {},
title: {},
},
number_of_fragments: 0,
},
})}
However, my search results return this
<mark>Blast</mark> from the past
Why is this not returned as HTML, but rather as a string?