160
rated 0 times
[
162]
[
2]
/ answers: 1 / hits: 31390
/ 9 Years ago, thu, august 6, 2015, 12:00:00
This is how the render code looks now (And I know it's unsafe to do so):
render: function() {
return (
<div className=container-fluid pages_container>
<p dangerouslySetInnerHTML={{__html: this.state.page.body}} />
</div>
);
}
The question is how can I render it safely?
More From » jquery