Closed grimaldodev closed 5 years ago
In Moon v1, there is no current way of directly setting innerHTML
. I am planning support for this with an innerHTML
attribute.
<div innerHTML={content}></div>
@kbrsh excuse me, Is there a way to set innerHTML for a dom now?
This was implemented in c206837d6b3b1bf620b801e0c025e1171e5aafc1.
Hi Im getting the data prom an api but the content is html formatted, my question is how I parse to render correctly because I'm getting the string not the html inside my view: