Closed rdpfeiffer closed 7 years ago
I thought that the following code snippet would work:
[:p "foo bar"]
and produce:
foo bar
But the doesn't get interpreted in my Sablono code. Is there a different/better way to do this? Thanks!
@rdpfeiffer I'm only aware of this:
[:p {:dangerouslySetInnerHTML {:__html "foo bar"}}]
@r0man OK, thanks. I'm a bit leery of the "dangerously" part, though. :-)
I thought that the following code snippet would work:
[:p "foo bar"]
and produce:
But the
doesn't get interpreted in my Sablono code. Is there a different/better way to do this? Thanks!