You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you so much for this library, and sorry for bothering, I don't seem to find a way to do this
<p>I will display ←</p>
<p>I will display ←</p>
<p>I will display ←</p>
when I use DOM.text "←" it gets sanitized as &#8592;, for react it would be something like:
<p>I will display {←}</p>
but I also don't know how to do {}
Tried with DOM.unsafeCreateDOMComponent "↑" >>= React.element but it needs an actual component like p and I just want to write "↑" escaped.
What is the correct way to do it?
The text was updated successfully, but these errors were encountered:
Thank you so much for this library, and sorry for bothering, I don't seem to find a way to do this
when I use
DOM.text "←"
it gets sanitized as&#8592;
, for react it would be something like:but I also don't know how to do
{}
Tried with
DOM.unsafeCreateDOMComponent "↑" >>= React.element
but it needs an actual component likep
and I just want to write"↑"
escaped.What is the correct way to do it?
The text was updated successfully, but these errors were encountered: