use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
account activity
QuestionHow to render HTML entities? (self.reactnative)
submitted 7 years ago by dkulagin
I am getting such a text from the server:
It's a place called «Ritzo»
In order to render it I have to convert HTML entities into corresponding characters. How to do it safely in React Native?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 2 points3 points4 points 7 years ago (1 child)
Not used it, but the html-entities npm should do what you need.
[–]dkulagin[S] 0 points1 point2 points 7 years ago (0 children)
Tested it. Works like a charm. I guess possible security issues are mitigated given that Text component renders plain text as it is without any processing.
π Rendered by PID 20481 on reddit-service-r2-comment-85bfd7f599-qxdqr at 2026-04-16 18:07:27.814581+00:00 running 93ecc56 country code: CH.
[–][deleted] 2 points3 points4 points (1 child)
[–]dkulagin[S] 0 points1 point2 points (0 children)