MichalZalecki / react-portal-universal

Generic wrapper for React's createPortal allowing for rendering portals on the server
ISC License
67 stars 13 forks source link

Fix rendering non-latin characters as HTML entities #6

Closed sanniassin closed 6 years ago

sanniassin commented 6 years ago

By default cheerio encodes all non-latin characters into HTML entities which leads to bigger output and non-readable HTML code.

Since React renders this characters as regular unicode characters, I think react-portal-universal should have the same behavior.

MichalZalecki commented 6 years ago

@sanniassin Awesome, thank you!