I\'m having trouble dealing with facebook\'s ReactJS. Whenever I do ajax and want to display an html data, ReactJS displays it as text. (See figure below)
i found this js fiddle. this works like this
function unescapeHTML(html) { var escapeEl = document.createElement('textarea'); escapeEl.innerHTML = html; return escapeEl.textContent; }
jsfiddle link