alexmingoia / purescript-pux

Build type-safe web apps with PureScript.
https://www.purescript-pux.org
Other
565 stars 76 forks source link

How would I include raw html (eg &) into pux output? #69

Closed simg closed 8 years ago

simg commented 8 years ago

"&" get's turned into & by the "text" function.

is there a function for rendering html without further processing ?

megamaddu commented 8 years ago

You want the dangerouslySetInnerHtml prop, which is how it's done in regular React as well.

simg commented 8 years ago

brilliant, thank you !