{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react/issues/7462","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/7462/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/7462/comments","events_url":"https://api.github.com/repos/facebook/react/issues/7462/events","html_url":"https://github.com/facebook/react/issues/7462","id":170424955,"number":7462,"title":"alternatives to dangerouslySetInnerHTML methods","user":{"login":"demoritik","id":8351201,"avatar_url":"https://avatars.githubusercontent.com/u/8351201?v=3","gravatar_id":"","url":"https://api.github.com/users/demoritik","html_url":"https://github.com/demoritik","followers_url":"https://api.github.com/users/demoritik/followers","following_url":"https://api.github.com/users/demoritik/following{/other_user}","gists_url":"https://api.github.com/users/demoritik/gists{/gist_id}","starred_url":"https://api.github.com/users/demoritik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demoritik/subscriptions","organizations_url":"https://api.github.com/users/demoritik/orgs","repos_url":"https://api.github.com/users/demoritik/repos","events_url":"https://api.github.com/users/demoritik/events{/privacy}","received_events_url":"https://api.github.com/users/demoritik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-10T14:02:49Z","updated_at":"2016-08-13T20:41:35Z","closed_at":"2016-08-13T20:41:35Z","body":"Hi. I have read alot of warnings about dangerouslySetInnerHTML api but what react can suggest instead? on official page https://facebook.github.io/react/docs/jsx-gotchas.html there are examples with simple strings like <div>First &middot; Second</div> . But i don't know how to implement this methods on such wide spread cases like displaying text with inner markup from database like \r\n`<p><span>text0</span></p>` \r\nor even more complicated. In my case this is a text created from  tinyMCE editor. How can i display it properly without dangerouslySetInnerHTML ?\r\np.s. i saw different plugins like htmlparser2 or similar but they are not much popular (stars count is less then 100)\r\n "}}
{"actor":{"display_login":"vjeux"}}