Hi there,
I've managed to set HTML in a JSON file by using a Fragment and set:html.
<p class="item-text">
<Fragment set:html={key} />
</p>
The json uses standard HTML markup, with some escape characters for the quotes
"key": "Check out our <a href=\"/store\">store</a>"
I'm in control of the JSON file, so there's no security risk really. Would that be ok, or would there be another method?
I've tried without the set:html and it doesn't parse the HTML markup written in the JSON file.