I have a component that calls an api that returns html.
I would like to render that html, but when I use the hx-target method, the target component renders the html tags verbatim, rather than formated. If I reload the entire page, the html gets rendered though.
Since the documentation states that a component should return hiccup syntax, not html, I guess html might not be supported?
But how should I then deal with it? convert html to hiccup first?
I have a component that calls an api that returns html.
I would like to render that html, but when I use the hx-target method, the target component renders the html tags verbatim, rather than formated. If I reload the entire page, the html gets rendered though.
Since the documentation states that a component should return hiccup syntax, not html, I guess html might not be supported?
But how should I then deal with it? convert html to hiccup first?
TIA