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
Hickory claims to generate valid Hiccup (see e.g. clj-commons/hickory#25), but Reagent appears to render that wrongly: If it contains &escapes;, e.g. ' for ', the escaped token will be rendered literally on the page. If React force-escapes input strings and the workarounds are troublesome, which I gather from #14 and #104, is it possible to make Reagent unescape strings before passing them on?
The text was updated successfully, but these errors were encountered:
As mentioned in 104, you can call gstring/unescapeEntities to convert HTML char entities to Unicode characters. But the call is not very performant if I recall correctly, so Reagent can't automatically call it.
Reagent probably isn't fully Hiccup compatible anyway, just "Hiccup-style".
Hickory claims to generate valid Hiccup (see e.g. clj-commons/hickory#25), but Reagent appears to render that wrongly: If it contains
&escapes;
, e.g.'
for'
, the escaped token will be rendered literally on the page. If React force-escapes input strings and the workarounds are troublesome, which I gather from #14 and #104, is it possible to make Reagent unescape strings before passing them on?The text was updated successfully, but these errors were encountered: