Closed reinux closed 4 years ago
Hello @reinux, don't you simply need the DangerouslySetInnerHTML
property on any element? i.e.
div [ DangerouslySetInnerHTML { __html = html } ]
[ ]
Derp. Thanks for that!
Indeed DangerouslySetInnerHTML
that you used in your first snippet is coming from Fable.React
This is actually the expected behaviour.
Currently, the workaround seems to be to do something like this:
GenericOptions
depends on Fulma, and I'm not too sure how else to do this without it.I think the only reason this is an issue is because I want to inject whitespace between two
a
elements, andstr
seems to trim them away.